convert loginComponent to TS

This commit is contained in:
p2405951
2026-03-12 11:13:39 +01:00
parent e259f5f93f
commit 4c7b636f27
4 changed files with 69 additions and 56 deletions
+2
View File
@@ -22,7 +22,9 @@ export interface User {
export interface AuthContextType {
user: User | null;
update: () => void;
login: (email: string, password: string) => Promise<{ status: number }>;
}
export const AuthContext = createContext<AuthContextType | null>(null);