From e0280bba326bb8ea7a2f56083145731bbbf1aa7b Mon Sep 17 00:00:00 2001 From: Matteo Gabriele Date: Wed, 13 Sep 2017 13:59:40 +0200 Subject: [PATCH] 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 --- src/lib/page.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/page.js b/src/lib/page.js index e35e574..fc9a761 100644 --- a/src/lib/page.js +++ b/src/lib/page.js @@ -30,7 +30,6 @@ export function trackRoute (proxy, router) { return } - set('page', currentRoute.path) page(proxy ? proxy(currentRoute) : router) }