Skip to content

Commit d309783

Browse files
authored
docs: typo
1 parent 7f272c9 commit d309783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/advanced/navigation-failures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ All navigation failures expose `to` and `from` properties to reflect the current
7171

7272
```js
7373
// trying to access the admin page
74-
router.push('/admin').catch(failure => {
74+
router.push('/admin').push(failure => {
7575
if (isNavigationFailure(failure, NavigationFailureType.redirected)) {
7676
failure.to.path // '/admin'
7777
failure.from.path // '/'

0 commit comments

Comments
 (0)