Archived
Added a basic store, fleshing out for our use, including actions relevant to migationsTracker
This commit is contained in:
1 parent
271942ae7f
commit
a3c380ffd1
5 files changed
+130
-33
No files matched your search
@@ -0,0 +1,13 @@
|
||||
import { createStore, applyMiddleware, compose } from "redux";
|
||||
import rootReducer from "../reducers";
|
||||
import { forbiddenWordsMiddleware } from "../middleware";
|
||||
import thunk from "redux-thunk";
|
||||
|
||||
const storeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
|
||||
|
||||
const store = createStore(
|
||||
rootReducer,
|
||||
storeEnhancers(applyMiddleware(forbiddenWordsMiddleware, thunk))
|
||||
);
|
||||
|
||||
export default store;
|
||||
Reference in new issue
Block a user