-
-
Save AllGistsEqual/f14d0d7d5de375b019474fe8d76ff130 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const setLogin = createAction('[USER] Set Login', (email: string, newUser: boolean) => ({ | |
payload: { | |
email, | |
newUser, | |
}, | |
})) | |
export const setLogout = createAction( | |
'[USER] Set Logout', | |
(loginState?: LoginState, message?: string) => ({ | |
payload: { | |
loginState, | |
message, | |
}, | |
}), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment