Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Commit 502730c

Browse files
fix(ignoreRoutes): checks routes name instead of route
closes #105
1 parent f1b1568 commit 502730c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default function page (...args) {
4848
}
4949

5050
export function trackRoute (route) {
51-
if (isRouteIgnored(route)) {
51+
if (isRouteIgnored(route.name)) {
5252
return
5353
}
5454

0 commit comments

Comments
 (0)