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

Commit 0f76973

Browse files
committed
Merge pull request #123 from RickCarlino/master
More specific error message when missing route state
2 parents fbc090f + d80f3e3 commit 0f76973

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ export function syncReduxAndRouter(history, store, selectRouterState = SELECT_ST
8080

8181
if(!getRouterState()) {
8282
throw new Error(
83-
'Cannot sync router: route state does not exist. Did you ' +
84-
'install the routing reducer?'
83+
'Cannot sync router: route state does not exist (`state.routing` by default). ' +
84+
'Did you install the routing reducer?'
8585
)
8686
}
8787

0 commit comments

Comments
 (0)