mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-05-02 16:16:41 +07:00
message notifications working
This commit is contained in:
parent
83c9900af1
commit
7583a57b04
11 changed files with 137 additions and 32 deletions
src/redux/auth
|
@ -34,9 +34,14 @@ export const authLogout = () => ({
|
|||
type: AUTH_USER_ACTIONS.LOGOUT,
|
||||
});
|
||||
|
||||
export const authOpenProfile = (username: string) => ({
|
||||
export const authLoggedIn = () => ({
|
||||
type: AUTH_USER_ACTIONS.LOGGED_IN,
|
||||
});
|
||||
|
||||
export const authOpenProfile = (username: string, tab?: IAuthState['profile']['tab']) => ({
|
||||
type: AUTH_USER_ACTIONS.OPEN_PROFILE,
|
||||
username,
|
||||
tab,
|
||||
});
|
||||
|
||||
export const authSetProfile = (profile: Partial<IAuthState['profile']>) => ({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue