This commit is contained in:
KS Jannette
2026-05-11 22:34:23 -04:00
parent d89970fcac
commit 71443f0abc
2 changed files with 3 additions and 4 deletions

View File

@@ -79,7 +79,9 @@ export function AuthProvider({ children }) {
if (auth.currentUser) {
await auth.currentUser.reload();
setCurrentUser({ ...auth.currentUser });
return auth.currentUser;
}
return null;
}
const value = {