fix fetch data to work even with autologin true
This commit is contained in:
parent
fff4537b1e
commit
c8d37c38b4
1 changed files with 2 additions and 0 deletions
|
|
@ -12,6 +12,8 @@ import { useGlobalVariablesStore } from "../stores/globalVariablesStore/globalVa
|
||||||
import { useStoreStore } from "../stores/storeStore";
|
import { useStoreStore } from "../stores/storeStore";
|
||||||
import { Users } from "../types/api";
|
import { Users } from "../types/api";
|
||||||
import { AuthContextType } from "../types/contexts/auth";
|
import { AuthContextType } from "../types/contexts/auth";
|
||||||
|
import { useGlobalVariablesStore } from "../stores/globalVariablesStore/globalVariables";
|
||||||
|
import { useStoreStore } from "../stores/storeStore";
|
||||||
|
|
||||||
const initialValue: AuthContextType = {
|
const initialValue: AuthContextType = {
|
||||||
isAdmin: false,
|
isAdmin: false,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue