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 = {
|
export const initialState = {
|
||||||
credentials: {
|
credentials: {
|
||||||
userName: "",
|
userName: "",
|
||||||
|
@ -5,7 +10,7 @@ export const initialState = {
|
||||||
},
|
},
|
||||||
security: {
|
security: {
|
||||||
authorization: {
|
authorization: {
|
||||||
token: null
|
token
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
network: {
|
network: {
|
||||||
|
|
Loading…
Reference in New Issue