From c073fe4fa03b1517a5d8a341da84fe4932c91f9f Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Wed, 25 Nov 2015 23:16:26 +0100 Subject: [PATCH] fix usage of updatePath --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 31104d3..e45a489 100644 --- a/src/index.js +++ b/src/index.js @@ -55,7 +55,7 @@ function syncReduxAndRouter(history, store, selectRouterState = SELECT_STATE) { // Avoid dispatching an action if the store is already up-to-date if(getRouterState().path !== routePath) { - store.dispatch(updatePath(routePath, { avoidRouterUpdate: true })); + store.dispatch(updatePath(routePath, true)); } });