1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 21:06:42 +07:00

setting tags

This commit is contained in:
Fedor Katurov 2019-10-09 14:56:12 +07:00
parent f9330000c2
commit 7fa5c17def
3 changed files with 55 additions and 8 deletions

View file

@ -62,9 +62,9 @@ function* checkUserSaga({ key }: RehydrateAction) {
yield put(authSetUser({ ...user, is_user: true }));
}
function* mySaga() {
function* authSaga() {
yield takeLatest(REHYDRATE, checkUserSaga);
yield takeLatest(AUTH_USER_ACTIONS.SEND_LOGIN_REQUEST, sendLoginRequestSaga);
}
export default mySaga;
export default authSaga;