Skip to content
This repository was archived by the owner on Oct 26, 2018. It is now read-only.

fix usage of updatePath #47

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
});

Expand Down