Skip to content

Commit 8cbb0d3

Browse files
authored
docs: fix typos (#1389)
* docs: fix typo in an code example * docs: fix a typo
1 parent 39b50ce commit 8cbb0d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/guide/essentials/navigation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ When specifying `params`, make sure to either provide a `string` or `number` (or
6060

6161
Since the prop `to` accepts the same kind of object as `router.push`, the exact same rules apply to both of them.
6262

63-
`router.push` and all the other navigation methods return a _Promise_ that allows us to wait til the navigation is finished and to know if it succeeded or failed. We will talk more about that in [Navigation Handling](../advanced/navigation-failures.md).
63+
`router.push` and all the other navigation methods return a _Promise_ that allows us to wait till the navigation is finished and to know if it succeeded or failed. We will talk more about that in [Navigation Handling](../advanced/navigation-failures.md).
6464

6565
## Replace current location
6666

docs/guide/essentials/route-matching-syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const router = createRouter({
9494
{ path: '/users/:id', sensitive: true },
9595
// will match /users, /Users, and /users/42 but not /users/ or /users/42/
9696
{ path: '/users/:id?' },
97-
]
97+
],
9898
strict: true, // applies to all routes
9999
})
100100
```

0 commit comments

Comments
 (0)