Skip to content

Commit d40b1a5

Browse files
authored
Merge pull request #173 from Buupu/master
Updated auth README changing the user return type, if not logged in, …
2 parents a3868e6 + e73b585 commit d40b1a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The `useAuthState` hook takes the following parameters:
2828

2929
Returns:
3030

31-
- `user`: The `auth.User` if logged in, or `undefined` if not
31+
- `user`: The `auth.User` if logged in, or `null` if not
3232
- `loading`: A `boolean` to indicate whether the the authentication state is still being loaded
3333
- `error`: Any `AuthError` returned by Firebase when trying to load the user, or `undefined` if there is no error
3434

0 commit comments

Comments
 (0)