Skip to content

Commit 8f4c025

Browse files
authored
Fix a bug in useAuthState
1 parent 363a558 commit 8f4c025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth/useAuthState.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export type AuthStateHook = {
88
};
99

1010
export default (auth: auth.Auth): AuthStateHook => {
11-
const { loading, setValue, value } = useLoadingValue<User>(auth().currentUser);
11+
const { loading, setValue, value } = useLoadingValue<User>(auth.currentUser);
1212

1313
useEffect(
1414
() => {

0 commit comments

Comments
 (0)