Skip to content

Instantly share code, notes, and snippets.

@AndrejGajdos
Created June 24, 2018 08:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndrejGajdos/9314338e6d1f0956e4ed0bccdc9b7512 to your computer and use it in GitHub Desktop.
Save AndrejGajdos/9314338e6d1f0956e4ed0bccdc9b7512 to your computer and use it in GitHub Desktop.
import { all, fork } from 'redux-saga/effects';
import { watchGetProfile, watchLogout, watchLogin } from './access.sagas';
import watchToggleModal from './modals.sagas';
export default function* rootSaga() {
yield all([
fork(watchGetProfile),
fork(watchLogin),
fork(watchLogout),
fork(watchToggleModal),
]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment