Skip to content

Commit 5e80ee0

Browse files
committed
resolve comment issue
1 parent e25a97f commit 5e80ee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/contexts/AuthContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type AuthContextType = {
3030
login: (email: string, password: string) => void;
3131
logout: () => void;
3232
user: User | null;
33-
setUser: (data: User) => void;
33+
setUser: React.Dispatch<React.SetStateAction<User | null>>;
3434
loading: boolean;
3535
};
3636

0 commit comments

Comments
 (0)