We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 363a558 commit 8f4c025Copy full SHA for 8f4c025
auth/useAuthState.ts
@@ -8,7 +8,7 @@ export type AuthStateHook = {
8
};
9
10
export default (auth: auth.Auth): AuthStateHook => {
11
- const { loading, setValue, value } = useLoadingValue<User>(auth().currentUser);
+ const { loading, setValue, value } = useLoadingValue<User>(auth.currentUser);
12
13
useEffect(
14
() => {
0 commit comments