Skip to content

Commit 43db3df

Browse files
fix typo referencing useSigninCheck (#390)
1 parent 8188802 commit 43db3df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/use.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Note: `useUser` will also automatically lazily import the `firebase/auth` SDK if
6262

6363
### Decide what to render based on a user's auth state
6464

65-
The `useSignInCheck` hook makes it easy to decide whether to hide or show UI elements based on a user's auth state, and even their [custom claims](https://firebase.google.com/docs/auth/admin/custom-claims). It will render its children if a user is signed in, but if they are not signed in, it renders its `fallback` prop:
65+
The `useSigninCheck` hook makes it easy to decide whether to hide or show UI elements based on a user's auth state, and even their [custom claims](https://firebase.google.com/docs/auth/admin/custom-claims). It will render its children if a user is signed in, but if they are not signed in, it renders its `fallback` prop:
6666

6767
```jsx
6868
function UserFavorites() {

0 commit comments

Comments
 (0)