error fixes by gpt
This commit is contained in:
9
frontend_admin/src/utils/context.ts
Normal file
9
frontend_admin/src/utils/context.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import React from "react";
|
||||
|
||||
export const AuthContext = React.createContext<{
|
||||
isAuthenticated: boolean;
|
||||
setIsAuthenticated: (auth: boolean) => void;
|
||||
}>({
|
||||
isAuthenticated: false,
|
||||
setIsAuthenticated: () => { },
|
||||
});
|
Reference in New Issue
Block a user