1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-26 05:16:41 +07:00

moved history listen to sagas

This commit is contained in:
Fedor Katurov 2019-11-25 12:12:51 +07:00
parent e5be4c383e
commit d7ed0cbe54
9 changed files with 107 additions and 61 deletions

View file

@ -76,3 +76,13 @@ export const authPatchUser = (user: Partial<IUser>) => ({
type: AUTH_USER_ACTIONS.PATCH_USER,
user,
});
export const authSetRestore = (restore: Partial<IAuthState['restore']>) => ({
type: AUTH_USER_ACTIONS.SET_RESTORE,
restore,
});
export const authRestorePassword = (code: string) => ({
type: AUTH_USER_ACTIONS.RESTORE_PASSWORD,
code,
});