From 58846ffccfb1a139365da78049c7bca1863eedb4 Mon Sep 17 00:00:00 2001 From: Jitu007-Bunde Date: Tue, 26 May 2020 19:08:28 +0530 Subject: [PATCH] add code in redux-store for run recognitionSaga at sagaMiddleware --- react-frontend/src/root/redux-store.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/react-frontend/src/root/redux-store.js b/react-frontend/src/root/redux-store.js index 7c7fb1fec..e534c8869 100644 --- a/react-frontend/src/root/redux-store.js +++ b/react-frontend/src/root/redux-store.js @@ -4,6 +4,7 @@ import createSagaMiddleware from "redux-saga"; import rootReducer from "reducers/rootReducer.js"; import rootSaga from "sagas/rootSaga.js"; +import recognitionSaga from "sagas/recognitionSaga"; // create the saga middleware export const sagaMiddleware = createSagaMiddleware(); @@ -19,3 +20,4 @@ export const store = configureStore(); // run the root saga sagaMiddleware.run(rootSaga); +sagaMiddleware.run(recognitionSaga);