Skip to content
Snippets Groups Projects

Fix/authorization

Merged Defendi Alberto requested to merge fix/authorization into dev
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -3,9 +3,9 @@ import { createContext } from 'react';
export type AuthData = {
role: string;
isAuth: boolean;
isAuth: boolean | null;
setRole: (role: string) => void;
setIsAuth: (state: boolean) => void;
setIsAuth: (state: boolean | null) => void;
};
export const AuthContext = createContext<AuthData>({
Loading