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;