hotfix: replace browserHistory with hashHistory

This commit is contained in:
George Lima 2019-01-03 14:19:54 -03:00
parent 734ed94cfb
commit 535681c94d
1 changed files with 2 additions and 2 deletions

View File

@ -2,12 +2,12 @@
import { createStore, applyMiddleware, compose } from 'redux';
import { routerMiddleware } from 'connected-react-router';
import { createBrowserHistory } from 'history';
import { createHashHistory } from 'history';
import thunk from 'redux-thunk';
import { createRootReducer } from './modules/reducer';
export const history = createBrowserHistory();
export const history = createHashHistory();
const shouldEnableDevTools = (process.env.NODE_ENV !== 'production'
|| process.env.NODE_ENV !== 'staging')