fix hot bugs.

This commit is contained in:
Ahmed Bouhuolia
2020-04-26 03:09:33 +02:00
parent d14ff872d4
commit e01ad95ac3
31 changed files with 251 additions and 350 deletions

View File

@@ -48,9 +48,7 @@ const createStore = (initialState = {
store.subscribe(() => {
saveState({
authentication: {
token: store.getState().authentication.token,
},
authentication: store.getState().authentication,
});
});
return store;