Skip to content

Commit

Permalink
docs(vue): fix typo in useIonRouter example (ionic-team#2157)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ph0tonic authored Mar 7, 2022
1 parent e9c0459 commit 4eaf3fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/vue/navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export default defineComponent({
setup() {
const ionRouter = useIonRouter();

router.push('/page2', customAnimation);
ionRouter.push('/page2', customAnimation);
}
});
```
Expand All @@ -179,7 +179,7 @@ export default defineComponent({
setup() {
const ionRouter = useIonRouter();

router.navigate('/page2', 'forward', 'replace', customAnimation);
ionRouter.navigate('/page2', 'forward', 'replace', customAnimation);
}
});
```
Expand Down

0 comments on commit 4eaf3fd

Please sign in to comment.