initial state fix
parent
0fbf9d3288
commit
2cc5a31675
|
@ -1,3 +1,8 @@
|
|||
import { getItem } from "../utils/localStorage";
|
||||
import { storageKeys } from "../utils/identity";
|
||||
|
||||
const token = getItem(storageKeys.TOKEN);
|
||||
|
||||
export const initialState = {
|
||||
credentials: {
|
||||
userName: "",
|
||||
|
@ -5,7 +10,7 @@ export const initialState = {
|
|||
},
|
||||
security: {
|
||||
authorization: {
|
||||
token: null
|
||||
token
|
||||
}
|
||||
},
|
||||
network: {
|
||||
|
|
Loading…
Reference in New Issue