format code
This commit is contained in:
parent
dfd419e438
commit
853f5483a3
1 changed files with 7 additions and 3 deletions
|
|
@ -1,13 +1,17 @@
|
||||||
import { createContext, useEffect, useState } from "react";
|
import { createContext, useEffect, useState } from "react";
|
||||||
import { useNavigate } from "react-router-dom";
|
import { useNavigate } from "react-router-dom";
|
||||||
import Cookies from "universal-cookie";
|
import Cookies from "universal-cookie";
|
||||||
import { getGlobalVariables, getLoggedUser, requestLogout } from "../controllers/API";
|
import {
|
||||||
|
getGlobalVariables,
|
||||||
|
getLoggedUser,
|
||||||
|
requestLogout,
|
||||||
|
} from "../controllers/API";
|
||||||
import useAlertStore from "../stores/alertStore";
|
import useAlertStore from "../stores/alertStore";
|
||||||
import { useFolderStore } from "../stores/foldersStore";
|
import { useFolderStore } from "../stores/foldersStore";
|
||||||
import { Users } from "../types/api";
|
|
||||||
import { AuthContextType } from "../types/contexts/auth";
|
|
||||||
import { useGlobalVariablesStore } from "../stores/globalVariablesStore/globalVariables";
|
import { useGlobalVariablesStore } from "../stores/globalVariablesStore/globalVariables";
|
||||||
import { useStoreStore } from "../stores/storeStore";
|
import { useStoreStore } from "../stores/storeStore";
|
||||||
|
import { Users } from "../types/api";
|
||||||
|
import { AuthContextType } from "../types/contexts/auth";
|
||||||
|
|
||||||
const initialValue: AuthContextType = {
|
const initialValue: AuthContextType = {
|
||||||
isAdmin: false,
|
isAdmin: false,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue