Skip to content

Commit 8489050

Browse files
authored
Update navigation-failures.md (#2048)
added comma while passing params to sendToAnalytics function in doc.
1 parent e2598cb commit 8489050

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/docs/guide/advanced/navigation-failures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ You can detect global navigation failures globally by using the [`router.afterEa
6969
```ts
7070
router.afterEach((to, from, failure) => {
7171
if (failure) {
72-
sendToAnalytics(to, from failure)
72+
sendToAnalytics(to, from, failure)
7373
}
7474
})
7575
```

0 commit comments

Comments
 (0)