You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* ["Initialization", "Signed out", "Signed in (no active organization)", "Signed in (with active organization)"]
36
+
* ["Loading", "Signed out", "Signed in (no active organization)", "Signed in (with active organization)"]
37
37
*
38
38
* @param [options] - An object containing options for the `useAuth()` hook. `treatPendingAsSignedOut` is a boolean that indicates whether pending sessions are considered as signed out or not. Defaults to `true`.
Copy file name to clipboardExpand all lines: packages/shared/src/react/hooks/useSession.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ const hookName = `useSession`;
10
10
* The `useSession()` hook provides access to the current user's [`Session`](https://clerk.com/docs/reference/objects/session) object, as well as helpers for setting the active session.
Copy file name to clipboardExpand all lines: packages/shared/src/react/hooks/useUser.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,10 @@ import { useUserBase } from './base/useUserBase';
5
5
6
6
consthookName='useUser';
7
7
/**
8
-
* The `useUser()` hook provides access to the current user's [`User`](https://clerk.com/docs/reference/objects/user) object, which contains all the data for a single user in your application and provides methods to manage their account. This hook also allows you to check if the user is signed in and if Clerk has loaded and initialized.
8
+
* The `useUser()` hook provides access to the current user's [`User`](https://clerk.com/docs/reference/objects/user) object, which contains all the data for a single user in your application and provides methods to manage their account. This hook also allows you to check if the user is signed in and if Clerk has loaded.
0 commit comments