diff --git a/client/src/contexts/AuthContext.tsx b/client/src/contexts/AuthContext.tsx index fd9fc3f..69c131f 100644 --- a/client/src/contexts/AuthContext.tsx +++ b/client/src/contexts/AuthContext.tsx @@ -14,6 +14,7 @@ interface AuthContextType { refreshUser: () => Promise; } + const AuthContext = createContext(undefined); export function AuthProvider({ children }: { children: ReactNode }) {