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:
parent
358b197c19
commit
837b4ee6f3
8 changed files with 1471 additions and 1412 deletions
|
@ -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,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue