1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

logging in via social networks

This commit is contained in:
Fedor Katurov 2019-11-03 18:17:56 +07:00
parent 3983b69c73
commit b28717d6a2
8 changed files with 96 additions and 28 deletions

View file

@ -19,9 +19,9 @@ export const authSetToken = (token: IAuthState['token']) => ({
token,
});
export const gotPostMessage = (message: MessageEvent) => ({
export const gotPostMessage = ({ token }: { token: string }) => ({
type: AUTH_USER_ACTIONS.GOT_POST_MESSAGE,
message,
token,
});
export const authSetUser = (profile: Partial<IUser>) => ({