mirror of
https://dev.azure.com/tstanciu94/NetworkResurrector/_git/NetworkResurrector
synced 2025-06-21 19:17:04 +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 = {
|
||||
credentials: {
|
||||
userName: "",
|
||||
@ -5,7 +10,7 @@ export const initialState = {
|
||||
},
|
||||
security: {
|
||||
authorization: {
|
||||
token: null
|
||||
token
|
||||
}
|
||||
},
|
||||
network: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user