|
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),
|
|
]);
|
|
}
|