Added a basic store, fleshing out for our use, including actions relevant to migationsTracker

This commit is contained in:
pepper committed 2021-01-19 19:09:09 -05:00
1 parent 271942ae7f
commit a3c380ffd1
5 files changed
+130 -33

No files matched your search

+13
View File
@@ -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;