Skip to content

Commit

Permalink
Update docs/references/react/use-clerk.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Alexis Aguilar <[email protected]>
  • Loading branch information
victoriaxyz and alexisintech authored Dec 19, 2024
1 parent 3aba56d commit b22b523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/references/react/use-clerk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The `useClerk()` hook returns the `Clerk` object, which includes all the methods

## How to use the `useClerk()` hook

The following example demonstrates how to use the `useClerk()` hook to open the sign-in modal. The `clerk` object is used to call the [`openSignIn()`](/docs/references/javascript/clerk/clerk#opensignin) method to open the sign-in modal.
The following example uses the `useClerk()` hook to access the `clerk` object. The `clerk` object is used to call the [`openSignIn()`](/docs/references/javascript/clerk/clerk#sign-in) method to open the sign-in modal.

```tsx {{ filename: 'src/Home.tsx' }}
import { useClerk } from '@clerk/clerk-react'
Expand Down

0 comments on commit b22b523

Please sign in to comment.