Skip to content

Commit 5d845e9

Browse files
authored
(chore): remove <br /> elements (#2030)
1 parent dd8f823 commit 5d845e9

File tree

18 files changed

+36
-36
lines changed

18 files changed

+36
-36
lines changed

docs/_partials/clerk-middleware-options.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The `clerkMiddleware()` function accepts an optional object. The following optio
1111
- `authorizedParties?`
1212
- `string[]`
1313

14-
An allowlist of origins to verify against, to protect your application from the subdomain cookie leaking attack.<br />For example: `['http://localhost:3000', 'https://example.com']`
14+
An allowlist of origins to verify against, to protect your application from the subdomain cookie leaking attack. For example: `['http://localhost:3000', 'https://example.com']`
1515

1616
---
1717

docs/_partials/root-auth-loader.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The `rootAuthLoader()` function accepts an optional object. The following option
1111
- `authorizedParties?`
1212
- `string[]`
1313

14-
An allowlist of origins to verify against, to protect your application from the subdomain cookie leaking attack.<br />For example: `['http://localhost:3000', 'https://example.com']`
14+
An allowlist of origins to verify against, to protect your application from the subdomain cookie leaking attack. For example: `['http://localhost:3000', 'https://example.com']`
1515

1616
---
1717

docs/backend-requests/handling/nodejs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ These options can be used with both [`ClerkExpressWithAuth`](#clerk-express-with
172172
- `authorizedParties?`
173173
- `string[]`
174174

175-
An allowlist of origins to verify against, to protect your application from the subdomain cookie leaking attack.<br />For example: `['http://localhost:3000', 'https://example.com']`
175+
An allowlist of origins to verify against, to protect your application from the subdomain cookie leaking attack. For example: `['http://localhost:3000', 'https://example.com']`
176176

177177
---
178178

docs/components/authentication/sign-in.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,21 @@ All props are optional.
2525
- `routing`
2626
- `'hash' | 'path'`
2727

28-
The [routing](/docs/how-clerk-works/routing) strategy for your pages.<br />Defaults to `'path'` for frameworks that handle routing, such as Next.js and Remix. Defaults to `hash` for all other SDK's, such as React.
28+
The [routing](/docs/how-clerk-works/routing) strategy for your pages. Defaults to `'path'` for frameworks that handle routing, such as Next.js and Remix. Defaults to `hash` for all other SDK's, such as React.
2929

3030
---
3131

3232
- `path`
3333
- `string`
3434

35-
The path where the component is mounted on when `routing` is set to `path`. It is ignored in hash- and virtual-based routing.<br />For example: `/sign-in`.
35+
The path where the component is mounted on when `routing` is set to `path`. It is ignored in hash-based routing. For example: `/sign-in`.
3636

3737
---
3838

3939
- `signUpUrl`
4040
- `string`
4141

42-
Used for the 'Sign Up' link that's rendered.<br />The full URL or path to the sign-up page. It's recommended to use [the environment variable](/docs/deployments/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
42+
Used for the 'Sign Up' link that's rendered. The full URL or path to the sign-up page. It's recommended to use [the environment variable](/docs/deployments/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
4343

4444
---
4545

@@ -60,14 +60,14 @@ All props are optional.
6060
- `signUpForceRedirectUrl?`
6161
- `string`
6262

63-
Used for the 'Sign Up' link that's rendered.<br />If provided, this URL will always used as the redirect destination after the user signs up. It's recommended to use [the environment variable](/docs/deployments/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
63+
Used for the 'Sign Up' link that's rendered. If provided, this URL will always used as the redirect destination after the user signs up. It's recommended to use [the environment variable](/docs/deployments/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
6464

6565
---
6666

6767
- `signUpFallbackRedirectUrl?`
6868
- `string`
6969

70-
Used for the 'Sign Up' link that's rendered.<br />The fallback URL to redirect to after the user signs up, if there's no `redirect_url` in the path already. Defaults to `/`. It's recommended to use [the environment variable](/docs/deployments/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
70+
Used for the 'Sign Up' link that's rendered. The fallback URL to redirect to after the user signs up, if there's no `redirect_url` in the path already. Defaults to `/`. It's recommended to use [the environment variable](/docs/deployments/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
7171

7272
---
7373

docs/components/authentication/sign-up.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,21 @@ All props are optional.
2525
- `routing`
2626
- `'hash' | 'path'`
2727

28-
The [routing](/docs/how-clerk-works/routing) strategy for your pages. <br />Defaults to `'path'` for frameworks that handle routing, such as Next.js and Remix. Defaults to `hash` for all other SDK's, such as React.
28+
The [routing](/docs/how-clerk-works/routing) strategy for your pages. Defaults to `'path'` for frameworks that handle routing, such as Next.js and Remix. Defaults to `hash` for all other SDK's, such as React.
2929

3030
---
3131

3232
- `path`
3333
- `string`
3434

35-
The path where the component is mounted on when `routing` is set to `path`. It is ignored in hash- and virtual-based routing.<br />For example: `/sign-up`.
35+
The path where the component is mounted on when `routing` is set to `path`. It is ignored in hash-based routing. For example: `/sign-up`.
3636

3737
---
3838

3939
- `signInUrl`
4040
- `string`
4141

42-
Used for the 'Sign In' link that's rendered.<br />The full URL or path to the sign-in page. It's recommended to use [the environment variable](/docs/deployments/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
42+
Used for the 'Sign In' link that's rendered. The full URL or path to the sign-in page. It's recommended to use [the environment variable](/docs/deployments/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
4343

4444
---
4545

@@ -60,14 +60,14 @@ All props are optional.
6060
- `signInForceRedirectUrl?`
6161
- `string`
6262

63-
Used for the 'Sign In' link that's rendered.<br />If provided, this URL will always be redirected to after the user signs in. It's recommended to use [the environment variable](/docs/deployments/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
63+
Used for the 'Sign In' link that's rendered. If provided, this URL will always be redirected to after the user signs in. It's recommended to use [the environment variable](/docs/deployments/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
6464

6565
---
6666

6767
- `signInFallbackRedirectUrl?`
6868
- `string`
6969

70-
Used for the 'Sign In' link that's rendered.<br />The fallback URL to redirect to after the user signs in, if there's no `redirect_url` in the path already. Defaults to `/`. It's recommended to use [the environment variable](/docs/deployments/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
70+
Used for the 'Sign In' link that's rendered. The fallback URL to redirect to after the user signs in, if there's no `redirect_url` in the path already. Defaults to `/`. It's recommended to use [the environment variable](/docs/deployments/clerk-environment-variables#sign-in-and-sign-up-redirects) instead.
7171

7272
---
7373

docs/components/organization/create-organization.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ All props are optional.
2929
- `routing`
3030
- `'hash' | 'path'`
3131

32-
The [routing](/docs/how-clerk-works/routing) strategy for your pages. <br />Defaults to `'path'` for frameworks that handle routing, such as Next.js and Remix. Defaults to `hash` for all other SDK's, such as React.
32+
The [routing](/docs/how-clerk-works/routing) strategy for your pages. Defaults to `'path'` for frameworks that handle routing, such as Next.js and Remix. Defaults to `hash` for all other SDK's, such as React.
3333

3434
---
3535

3636
- `path`
3737
- `string`
3838

39-
The path where the component is mounted on when `routing` is set to `path`. It is ignored in hash- and virtual-based routing.<br />For example: `/create-organization`.
39+
The path where the component is mounted on when `routing` is set to `path`. It is ignored in hash-based routing. For example: `/create-organization`.
4040

4141
---
4242

docs/components/organization/organization-list.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ All props are optional.
1515
- `hidePersonal`
1616
- `boolean`
1717

18-
By default, users can switch between organization and their personal account. This option controls whether `<OrganizationList />` will include the user's personal account in the organization list. Setting this to `false` will hide the personal account entry, and users will only be able to switch between organizations. <br />Defaults to `false`.
18+
By default, users can switch between organization and their personal account. This option controls whether `<OrganizationList />` will include the user's personal account in the organization list. Setting this to `false` will hide the personal account entry, and users will only be able to switch between organizations. Defaults to `false`.
1919

2020
---
2121

2222
- `skipInvitationScreen`
2323
- `boolean | undefined`
2424

25-
Hides the screen for sending invitations after an organization is created. When left undefined Clerk will automatically hide the screen if the number of max allowed members is equal to 1.<br />Defaults to `false`.
25+
Hides the screen for sending invitations after an organization is created. When left undefined Clerk will automatically hide the screen if the number of max allowed members is equal to 1. Defaults to `false`.
2626

2727
---
2828

@@ -43,14 +43,14 @@ All props are optional.
4343
- `afterSelectOrganizationUrl`
4444
- <code>((org: [Organization][org-ref]) => string) | string</code>
4545

46-
Full URL or path to navigate to after selecting an organization.<br />Defaults to `undefined`.
46+
Full URL or path to navigate to after selecting an organization. Defaults to `undefined`.
4747

4848
---
4949

5050
- `afterSelectPersonalUrl`
5151
- <code>((org: [Organization][org-ref]) => string) | string</code>
5252

53-
Full URL or path to navigate to after selecting the personal account.<br />Defaults to `undefined`.
53+
Full URL or path to navigate to after selecting the personal account. Defaults to `undefined`.
5454

5555
---
5656

docs/components/organization/organization-profile.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ All props are optional.
3333
- `routing`
3434
- `'hash' | 'path'`
3535

36-
The [routing](/docs/how-clerk-works/routing) strategy for your pages. <br />Defaults to `'path'` for frameworks that handle routing, such as Next.js and Remix. Defaults to `hash` for all other SDK's, such as React.
36+
The [routing](/docs/how-clerk-works/routing) strategy for your pages. Defaults to `'path'` for frameworks that handle routing, such as Next.js and Remix. Defaults to `hash` for all other SDK's, such as React.
3737

3838
---
3939

4040
- `path`
4141
- `string`
4242

43-
The path where the component is mounted on when `routing` is set to `path`. It is ignored in hash- and virtual-based routing.<br />For example: `/organization-profile`.
43+
The path where the component is mounted on when `routing` is set to `path`. It is ignored in hash-based routing. For example: `/organization-profile`.
4444

4545
---
4646

docs/components/organization/organization-switcher.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ All props below are optional.
4747
- `createOrganizationMode`
4848
- `'modal' | 'navigation'`
4949

50-
Controls whether clicking the "Create organization" button will cause the [`<CreateOrganization />`][createorg-ref] component to open as a modal, or if the browser will navigate to the `createOrganizationUrl` where `<CreateOrganization />` is mounted as a page.<br />Defaults to: `'modal'`.
50+
Controls whether clicking the "Create organization" button will cause the [`<CreateOrganization />`][createorg-ref] component to open as a modal, or if the browser will navigate to the `createOrganizationUrl` where `<CreateOrganization />` is mounted as a page. Defaults to: `'modal'`.
5151

5252
---
5353

5454
- `organizationProfileMode`
5555
- `'modal' | 'navigation'`
5656

57-
Controls whether clicking the **Manage organization** button will cause the [`<OrganizationProfile />`][orgprofile-ref] component to open as a modal, or if the browser will navigate to the `organizationProfileUrl` where `<OrganizationProfile />` is mounted as a page.<br />Defaults to: `'modal'`.
57+
Controls whether clicking the **Manage organization** button will cause the [`<OrganizationProfile />`][orgprofile-ref] component to open as a modal, or if the browser will navigate to the `organizationProfileUrl` where `<OrganizationProfile />` is mounted as a page. Defaults to: `'modal'`.
5858

5959
---
6060

@@ -75,7 +75,7 @@ All props below are optional.
7575
- `hidePersonal`
7676
- `boolean`
7777

78-
By default, users can switch between organizations and their personal workspace. This option controls whether `<OrganizationSwitcher />` will include the user's personal workspace in the organization list. Setting this to `true` will hide the personal workspace entry, and allow users to switch only between organizations.<br />Defaults to: `false`.
78+
By default, users can switch between organizations and their personal workspace. This option controls whether `<OrganizationSwitcher />` will include the user's personal workspace in the organization list. Setting this to `true` will hide the personal workspace entry, and allow users to switch only between organizations. Defaults to: `false`.
7979

8080
---
8181

@@ -89,7 +89,7 @@ All props below are optional.
8989
- `organizationProfileProps`
9090
- `object`
9191

92-
Specify options for the underlying [`<OrganizationProfile />`][orgprofile-ref] component.<br />For example: `{appearance: {...}}`
92+
Specify options for the underlying [`<OrganizationProfile />`][orgprofile-ref] component. For example: `{appearance: {...}}`
9393

9494
---
9595

docs/components/unstyled/sign-in-button.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The `<SignInButton>` component is a button that links to the sign-in page or dis
4646
- `mode?`
4747
- `'redirect' | 'modal'`
4848

49-
Determines what happens when a user clicks on the `<SignInButton>`. Setting this to `'redirect'` will redirect the user to the sign-in route. Setting this to `'modal'` will open a modal on the current route.<br />Defaults to `'redirect'`.
49+
Determines what happens when a user clicks on the `<SignInButton>`. Setting this to `'redirect'` will redirect the user to the sign-in route. Setting this to `'modal'` will open a modal on the current route. Defaults to `'redirect'`.
5050

5151
---
5252

0 commit comments

Comments
 (0)