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

Don't navigate immediately on boot. #81

Merged
merged 1 commit into from
Dec 6, 2015
Merged
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 @@ -114,7 +114,7 @@ function syncReduxAndRouter(history, store, selectRouterState = SELECT_STATE) {

// Only trigger history update is this is a new change or the location
// has changed.
if(lastRoute !== undefined &&
if(lastRoute === undefined ||
lastRoute.changeId === routing.changeId &&
locationsAreEqual(lastRoute, routing)) {
return;
Expand Down