mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
schema generator error type doc
This commit is contained in:
@@ -29,6 +29,7 @@ const AuthContext = createContext<AuthContextType | undefined>(undefined);
|
||||
export function AuthProvider({ children }: { children: React.ReactNode }) {
|
||||
const { data: session, status, update } = useNextAuthSession();
|
||||
const customSession = session ? assertExtendedTokenAndUserId(session) : null;
|
||||
console.log("customSessioncustomSession", customSession);
|
||||
|
||||
const contextValue: AuthContextType = {
|
||||
...(status === "loading" && !customSession
|
||||
|
||||
Reference in New Issue
Block a user