diff options
Diffstat (limited to 'frontend/src/store.js')
-rw-r--r-- | frontend/src/store.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/frontend/src/store.js b/frontend/src/store.js index e9ac401e..750c9c72 100644 --- a/frontend/src/store.js +++ b/frontend/src/store.js @@ -31,10 +31,12 @@ export default function configureStore(initialState = {}) { composeEnhancers(...enhancers) ) - sagaMiddleware.run(rootSaga) + const syncedHistory = syncHistoryWithStore(history, store) + + sagaMiddleware.run(rootSaga, syncedHistory) return { store, - history: syncHistoryWithStore(history, store) + history: syncedHistory } } |