import { createStore , applyMiddleware } from "redux" ; import thunkMiddleware from "redux-thunk" ; import reducers from "./modules/rootReducer" ; const store = createStore ( reducers , applyMiddleware ( thunkMiddleware ) ) ; export default store ;