mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 21:38:35 +03:00
Clean master commit
This commit is contained in:
16
src/store/index.js
Normal file
16
src/store/index.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import {
|
||||
createStore,
|
||||
applyMiddleware,
|
||||
compose
|
||||
} from 'redux';
|
||||
import thunk from 'redux-thunk';
|
||||
|
||||
import rootReducer from '../reducers';
|
||||
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
|
||||
|
||||
const store = createStore(
|
||||
rootReducer,
|
||||
composeEnhancers(applyMiddleware(thunk))
|
||||
);
|
||||
|
||||
export default store;
|
||||
Reference in New Issue
Block a user