- Initial commit
This commit is contained in:
9
app/store/index.js
Normal file
9
app/store/index.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import { applyMiddleware, compose, createStore } from 'redux';
|
||||
import thunk from 'redux-thunk';
|
||||
|
||||
import rootReducer from '../reducers/index.js';
|
||||
|
||||
export const store = createStore(
|
||||
rootReducer,
|
||||
compose(applyMiddleware(thunk)),
|
||||
);
|
||||
Reference in New Issue
Block a user