There was an error while loading. Please reload this page.
1 parent acbacc4 commit ef47ac1Copy full SHA for ef47ac1
package.json
@@ -25,5 +25,11 @@
25
"redux-thunk": "2.3.0",
26
"sanitize.css": "7.0.3",
27
"serve": "10.1.2"
28
- }
+ },
29
+ "browserslist": [
30
+ ">0.2%",
31
+ "not dead",
32
+ "not ie <= 11",
33
+ "not op_mini all"
34
+ ]
35
}
src/store.js
@@ -1,10 +1,10 @@
1
import { createStore, applyMiddleware, compose } from 'redux'
2
import { connectRouter, routerMiddleware } from 'connected-react-router'
3
import thunk from 'redux-thunk'
4
-import createHistory from 'history/createBrowserHistory'
+import * as History from 'history'
5
import rootReducer from './modules'
6
7
-export const history = createHistory()
+export const history = History.createBrowserHistory()
8
9
const initialState = {}
10
const enhancers = []
0 commit comments