feat added custom pages

This commit is contained in:
Mathieu Lagace
2021-08-30 20:37:43 +00:00
parent 1bec8805a7
commit 935b63898c
509 changed files with 53583 additions and 235 deletions

View File

@@ -0,0 +1,17 @@
import { createStore, applyMiddleware, compose } from "redux";
import reducers from "./reducers";
import createSagaMiddleware from "redux-saga";
import { watchSagas } from "./sagas";
const saga = createSagaMiddleware();
//redux dev tool
const composeEnhancers =
typeof window === "object" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__
? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({})
: compose;
const enhancer = composeEnhancers(applyMiddleware(saga));
const store = createStore(reducers, enhancer);
saga.run(watchSagas);
export default store;