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

added register_socials to reducer

This commit is contained in:
Fedor Katurov 2020-08-20 10:55:14 +07:00
parent 358b197c19
commit 837b4ee6f3
8 changed files with 1471 additions and 1412 deletions

View file

@ -138,3 +138,15 @@ export const authGotOauthEvent = (event: IOAuthEvent) => ({
type: AUTH_USER_ACTIONS.GOT_OAUTH_EVENT,
event,
});
export const authSetRegisterSocial = (register_social: Partial<IAuthState['register_social']>) => ({
type: AUTH_USER_ACTIONS.SET_REGISTER_SOCIAL,
register_social,
});
export const authSetRegisterSocialErrors = (
errors: Partial<IAuthState['register_social']['errors']>
) => ({
type: AUTH_USER_ACTIONS.SET_REGISTER_SOCIAL_ERRORS,
errors,
});