UserForm: ajout retour de validation d'API
This commit is contained in:
9
frontend/src/sagas/user/root.saga.js
Normal file
9
frontend/src/sagas/user/root.saga.js
Normal file
@ -0,0 +1,9 @@
|
||||
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),
|
||||
]);
|
||||
}
|
Reference in New Issue
Block a user