From efcfced18f54a7ca9edb2d9cac18db4b6b52b92f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Delattre?= Date: Tue, 15 Nov 2016 13:52:33 +0100 Subject: [PATCH] Use hashHistory instead of browserHistory --- src/public/js/store.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/public/js/store.js b/src/public/js/store.js index 7d6109a..e8a20fb 100644 --- a/src/public/js/store.js +++ b/src/public/js/store.js @@ -1,6 +1,6 @@ import { createStore, compose } from 'redux'; import { syncHistoryWithStore } from 'react-router-redux' -import { browserHistory } from 'react-router' +import { hashHistory } from 'react-router' // Import the root reducer import rootReducer from './reducers/index' @@ -9,6 +9,6 @@ import rootReducer from './reducers/index' const store = createStore(rootReducer); // Sync history with store -export const history = syncHistoryWithStore(browserHistory, store); +export const history = syncHistoryWithStore(hashHistory, store); export default store;