10 lines
268 B
JavaScript
10 lines
268 B
JavaScript
|
import { all, takeLatest } from 'redux-saga/effects';
|
||
|
import { CREATE_USER_REQUEST } from '../../actions/user.actions';
|
||
|
import { createUserSaga } from './user.saga';
|
||
|
|
||
|
export function* rootSaga() {
|
||
|
yield all([
|
||
|
takeLatest(CREATE_USER_REQUEST, createUserSaga),
|
||
|
]);
|
||
|
}
|