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

Commit e0280bb

Browse files
author
Matteo Gabriele
committed
fix(page): set is tracked twice
is not possible to hit the set event without the route object, because the path is not declared it needs to be manually added by the developer set page will be only used automatically when a router is provided or when in auto-tracking mode
1 parent 6c36053 commit e0280bb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/lib/page.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ export function trackRoute (proxy, router) {
3030
return
3131
}
3232

33-
set('page', currentRoute.path)
3433
page(proxy ? proxy(currentRoute) : router)
3534
}
3635

0 commit comments

Comments
 (0)