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

user settings mechanism

This commit is contained in:
Fedor Katurov 2019-11-13 18:02:09 +07:00
parent 5fe0deca17
commit a90285a4ac
10 changed files with 162 additions and 4 deletions

View file

@ -71,3 +71,8 @@ export const authSetLastSeenMessages = (
type: AUTH_USER_ACTIONS.SET_LAST_SEEN_MESSAGES,
last_seen_messages,
});
export const authPatchUser = (user: Partial<IUser>) => ({
type: AUTH_USER_ACTIONS.PATCH_USER,
user,
});