From b7b85261eb1e331ab748d5adf31abf7b1a8a0825 Mon Sep 17 00:00:00 2001 From: Yoshua Wuyts Date: Thu, 30 Mar 2017 11:48:21 +0200 Subject: [PATCH] Remove unused variables (#453) Closes https://github.com/yoshuawuyts/choo/issues/451 --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 214785c..e0cb57a 100644 --- a/index.js +++ b/index.js @@ -49,12 +49,12 @@ function Framework (opts) { } function start () { - tree = router(createLocation(), state, emit) + tree = router(createLocation()) rerender = nanoraf(function () { if (hasPerformance && timingEnabled) { window.performance.mark('choo:renderStart') } - var newTree = router(createLocation(), state, emit) + var newTree = router(createLocation()) tree = nanomorph(tree, newTree) if (hasPerformance && timingEnabled) { window.performance.mark('choo:renderEnd')