Skip to content

Commit 9f3c3a3

Browse files
alexisintechvictoriaxyz
authored andcommitted
(chore) fix format for component references (#1796)
Co-authored-by: victoria <[email protected]>
1 parent 70c765f commit 9f3c3a3

File tree

11 files changed

+13
-13
lines changed

11 files changed

+13
-13
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ The `<TutorialHero />` component is used at the beginning of a tutorial-type con
575575

576576
- Install `@clerk/nextjs`
577577
- Set up your environment keys to test your app locally
578-
- Add `<ClerkProvider />` to your application
578+
- Add `<ClerkProvider>` to your application
579579
- Use Clerk middleware to implement route-specific authentication
580580
- Create a header with Clerk components for users to sign in and out
581581

docs/advanced-usage/satellite-domains.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ To access authentication state from a satellite domain, users will be transparen
115115
# CLERK_SIGN_UP_URL=http://localhost:3000/sign-up
116116
```
117117
</CodeBlockTabs>
118-
- You will also need to add the `allowedRedirectOrigins` property to `<ClerkProvider />` on your _primary domain app_ to ensure that the redirect back from primary to satellite domain works correctly. For example:
118+
- You will also need to add the `allowedRedirectOrigins` property to `<ClerkProvider>` on your _primary domain app_ to ensure that the redirect back from primary to satellite domain works correctly. For example:
119119

120120
<CodeBlockTabs options={["Development", "Production"]}>
121121
```tsx {{ filename: 'app/layout.tsx' }}

docs/guides/architecture-scenarios.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Clerk offers a number of building blocks to help integrate organizations into yo
5656

5757
- The [`<OrganizationSwitcher />` component](/docs/components/organization/organization-switcher) provides a way for your users to select which organization is active. The [`useOrganizationList()` hook](/docs/organizations/custom-organization-switcher) can be used for more control.
5858
- The [`useOrganization()` hook](/docs/references/react/use-organization) can be used to fetch the current, active organization.
59-
- The [`<Protect />` component](/docs/components/protect) enables you to limit who can view certain pages based on their role. Additionally, Clerk exposes a number of helper functions, such as [`auth()`](/docs/references/nextjs/auth), and hooks, such as [`useAuth()`](/docs/references/react/use-auth#how-to-use-the-use-auth-hook), to check the user's authorization throughout your app and API endpoints.
59+
- The [`<Protect>` component](/docs/components/protect) enables you to limit who can view certain pages based on their role. Additionally, Clerk exposes a number of helper functions, such as [`auth()`](/docs/references/nextjs/auth), and hooks, such as [`useAuth()`](/docs/references/react/use-auth#how-to-use-the-use-auth-hook), to check the user's authorization throughout your app and API endpoints.
6060

6161
The organization's ID should be stored in your database alongside each resource so that it can be used to filter and query the resources that should be rendered or returned according to the active organization.
6262

docs/guides/authjs-migration.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ description: Learn how to migrate an application using Auth.js to use Clerk for
2323
>
2424
- Install `@clerk/nextjs`
2525
- Set environment variables
26-
- Wrap your Next.js app in `<ClerkProvider />`
26+
- Wrap your Next.js app in `<ClerkProvider>`
2727
- Set up sign-up and sign-in UI
2828
- Protect your app
2929
- Read user and session data
@@ -67,9 +67,9 @@ This guide shows how to migrate an application using Auth.js (formerly NextAuth.
6767
CLERK_SECRET_KEY={{secret}}
6868
```
6969

70-
### Wrap your Next.js app in `<ClerkProvider />`
70+
### Wrap your Next.js app in `<ClerkProvider>`
7171

72-
Remove the `<SessionProvider session={session}>` provider from Auth.js and replace it with `<ClerkProvider />`.
72+
Remove the `<SessionProvider session={session}>` provider from Auth.js and replace it with `<ClerkProvider>`.
7373

7474
<Include src="_partials/clerk-provider" />
7575

docs/quickstarts/chrome-extension.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ description: Add authentication and user management to your Chrome Extension wit
2121
- Create a new app with Plasmo
2222
- Install `@clerk/chrome-extension`
2323
- Set your Clerk API keys
24-
- Add `<ClerkProvider />` and Clerk components to your app
24+
- Add `<ClerkProvider>` and Clerk components to your app
2525
- Configure your app to use a consistent CRX ID
2626
- Build, load, and test your Chrome Extension
2727
</TutorialHero>

docs/quickstarts/expo.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ description: Add authentication and user management to your Expo app with Clerk.
2727
>
2828
- Install `@clerk/expo`
2929
- Set your Clerk API keys
30-
- Add `<ClerkProvider />`
30+
- Add `<ClerkProvider>`
3131
- Protect specific pages with authentication
3232
- Use Clerk hooks to enable users to sign in and out
3333
</TutorialHero>

docs/quickstarts/nextjs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ description: Add authentication and user management to your Next.js app with Cle
2121
- Install `@clerk/nextjs`
2222
- Set your Clerk API keys
2323
- Add `clerkMiddleware()`
24-
- Add `<ClerkProvider />` and Clerk components
24+
- Add `<ClerkProvider>` and Clerk components
2525
</TutorialHero>
2626

2727
<Steps>

docs/quickstarts/react.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ description: Add authentication and user management to your React app with Clerk
2323
- Create a new React app using Vite
2424
- Install `@clerk/clerk-react`
2525
- Set your Clerk API keys
26-
- Add `<ClerkProvider />`
26+
- Add `<ClerkProvider>`
2727
- Create a header with Clerk components for users to sign in and out
2828
</TutorialHero>
2929

docs/quickstarts/tanstack-start.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ description: Learn how to use Clerk to quickly and easily add secure authenticat
2626
- Install `@clerk/tanstack-start`
2727
- Set your Clerk API keys
2828
- Add `createClerkHandler()`
29-
- Add `<ClerkProvider />`
29+
- Add `<ClerkProvider>`
3030
- Protect your pages
3131
</TutorialHero>
3232

docs/telemetry.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ CLERK_TELEMETRY_DISABLED=1
7272

7373
### `telemetry` prop
7474

75-
If you are using `@clerk/clerk-react` directly, or using an SDK that doesn't have environment variable support, you can opt out by passing the `telemetry` prop to `<ClerkProvider />`:
75+
If you are using `@clerk/clerk-react` directly, or using an SDK that doesn't have environment variable support, you can opt out by passing the `telemetry` prop to `<ClerkProvider>`:
7676

7777
```tsx
7878
<ClerkProvider telemetry={false} />

0 commit comments

Comments
 (0)