Skip to content

Commit

Permalink
add code in redux-store for run recognitionSaga at sagaMiddleware
Browse files Browse the repository at this point in the history
  • Loading branch information
jitendrasbunde committed May 26, 2020
1 parent cbb45d8 commit 6c637f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions react-frontend/src/root/redux-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -19,3 +20,4 @@ export const store = configureStore();

// run the root saga
sagaMiddleware.run(rootSaga);
sagaMiddleware.run(recognitionSaga);

0 comments on commit 6c637f5

Please sign in to comment.