10 lines
219 B
TypeScript
10 lines
219 B
TypeScript
import React from "react";
|
|
|
|
export const AuthContext = React.createContext<{
|
|
isAuthenticated: boolean;
|
|
setIsAuthenticated: (auth: boolean) => void;
|
|
}>({
|
|
isAuthenticated: false,
|
|
setIsAuthenticated: () => {},
|
|
});
|