2020-03-09 11:32:21 +01:00
|
|
|
import { all, takeLatest } from 'redux-saga/effects';
|
|
|
|
import { CREATE_USER_REQUEST } from '../../actions/user.actions';
|
|
|
|
import { createUserSaga } from './user.saga';
|
|
|
|
|
|
|
|
export function* rootSaga() {
|
2020-03-09 14:49:56 +01:00
|
|
|
yield all([
|
|
|
|
takeLatest(CREATE_USER_REQUEST, createUserSaga),
|
|
|
|
]);
|
2020-03-09 11:32:21 +01:00
|
|
|
}
|