diff --git a/contexts/AuthContext.tsx b/contexts/AuthContext.tsx index b30cf77..c441305 100644 --- a/contexts/AuthContext.tsx +++ b/contexts/AuthContext.tsx @@ -20,7 +20,7 @@ interface AuthContextType { refreshUser: () => Promise; } -const AuthContext = createContext(undefined); +export const AuthContext = createContext(undefined); export const useAuth = () => { const context = useContext(AuthContext);