mirror of
https://dev.azure.com/tstanciu94/NetworkResurrector/_git/NetworkResurrector_Frontend
synced 2023-05-06 14:40:17 +03:00
initial state fix
This commit is contained in:
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…
x
Reference in New Issue
Block a user