This commit is contained in:
2026-08-22 02:59:16 +02:00
commit 6a5bb1d699
100 changed files with 17409 additions and 0 deletions
@@ -0,0 +1,12 @@
import { createContext } from 'react';
import type { User } from '../../lib/api';
export interface AuthContextValue {
user: User | null;
loading: boolean;
setUser: (user: User | null) => void;
signOut: () => Promise<void>;
}
export const AuthContext = createContext<AuthContextValue | null>(null);