mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-05-05 09:36:41 +07:00
#23 added superpowers switch
This commit is contained in:
parent
e38090c755
commit
756840f173
16 changed files with 178 additions and 25 deletions
|
@ -20,6 +20,11 @@ export const authSetToken = (token: IAuthState['token']) => ({
|
|||
token,
|
||||
});
|
||||
|
||||
export const authSetState = (payload: Partial<IAuthState>) => ({
|
||||
type: AUTH_USER_ACTIONS.SET_STATE,
|
||||
payload,
|
||||
});
|
||||
|
||||
export const gotAuthPostMessage = ({ token }: { token: string }) => ({
|
||||
type: AUTH_USER_ACTIONS.GOT_AUTH_POST_MESSAGE,
|
||||
token,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue