1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-05-05 01:27:46 +07:00

added initial profile dialog

This commit is contained in:
Fedor Katurov 2019-11-11 16:01:21 +07:00
parent f6baedc4cd
commit 618c2e3275
28 changed files with 315 additions and 58 deletions
src/redux/auth

View file

@ -10,10 +10,16 @@ const HANDLERS = {
const INITIAL_STATE: IAuthState = {
token: null,
user: { ...EMPTY_USER },
login: {
error: null,
is_loading: false,
},
profile: {
is_loading: true,
user: null,
},
};
export default createReducer(INITIAL_STATE, HANDLERS);