forked from community/device-mgt-core
parent
1b3390f1b9
commit
6ce3eceb70
@ -1,4 +1,5 @@
|
|||||||
import { createStore } from "redux";
|
import { createStore, applyMiddleware } from "redux";
|
||||||
import rootReducer from "../reducers/index";
|
import rootReducer from "../reducers/index";
|
||||||
const store = createStore(rootReducer);
|
import thunk from "redux-thunk";
|
||||||
|
const store = createStore(rootReducer, applyMiddleware(thunk));
|
||||||
export default store;
|
export default store;
|
Loading…
Reference in new issue