Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The **Billing** tab displays the plans and features that are available to the or
## Example

<If sdk="nextjs">
The `<OrganizationProfile />` component must embedded using the [Next.js optional catch-all route](https://nextjs.org/docs/pages/building-your-application/routing/dynamic-routes#optional-catch-all-routes) in order for the routing to work.
The `<OrganizationProfile />` component must be embedded using the [Next.js optional catch-all route](https://nextjs.org/docs/pages/building-your-application/routing/dynamic-routes#optional-catch-all-routes) in order for the routing to work.

```jsx {{ filename: 'app/organization-profile/[[...organization-profile]]/page.tsx' }}
import { OrganizationProfile } from '@clerk/nextjs'
Expand Down Expand Up @@ -86,7 +86,7 @@ The **Billing** tab displays the plans and features that are available to the or
</If>

<If sdk="react-router">
The `<OrganizationProfile />` component must embedded using the [React Router Splat route](https://reactrouter.com/start/framework/routing#splats) in order for the routing to work.
The `<OrganizationProfile />` component must be embedded using the [React Router Splat route](https://reactrouter.com/start/framework/routing#splats) in order for the routing to work.

```tsx {{ filename: 'app/routes/organization-profile.$.tsx' }}
import { OrganizationProfile } from '@clerk/react-router'
Expand All @@ -98,7 +98,7 @@ The **Billing** tab displays the plans and features that are available to the or
</If>

<If sdk="tanstack-react-start">
The `<OrganizationProfile />` component must embedded using the [TanStack Router catch-all route](https://tanstack.com/router/latest/docs/framework/react/routing/routing-concepts#splat--catch-all-routes) in order for the routing to work.
The `<OrganizationProfile />` component must be embedded using the [TanStack Router catch-all route](https://tanstack.com/router/latest/docs/framework/react/routing/routing-concepts#splat--catch-all-routes) in order for the routing to work.

```tsx {{ filename: 'app/routes/organization-profile.$.tsx' }}
import { OrganizationProfile } from '@clerk/tanstack-react-start'
Expand Down
8 changes: 4 additions & 4 deletions docs/reference/components/user/user-profile.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The `<UserProfile />` component is used to render a beautiful, full-featured acc
## Example

<If sdk="nextjs">
The `<UserProfile />` component must embedded using the [Next.js optional catch-all route](https://nextjs.org/docs/pages/building-your-application/routing/dynamic-routes#optional-catch-all-routes) in order for the routing to work.
The `<UserProfile />` component must be embedded using the [Next.js optional catch-all route](https://nextjs.org/docs/pages/building-your-application/routing/dynamic-routes#optional-catch-all-routes) in order for the routing to work.

```jsx {{ filename: 'app/user-profile/[[...user-profile]]/page.tsx' }}
import { UserProfile } from '@clerk/nextjs'
Expand Down Expand Up @@ -70,7 +70,7 @@ The `<UserProfile />` component is used to render a beautiful, full-featured acc
</If>

<If sdk="remix">
The `<UserProfile />` component must embedded using the [Remix optional route](https://reactrouter.com/en/main/route/route#optional-segments). in order for the routing to work.
The `<UserProfile />` component must be embedded using the [Remix optional route](https://reactrouter.com/en/main/route/route#optional-segments) in order for the routing to work.

```tsx {{ filename: 'app/routes/user.$.tsx' }}
import { UserProfile } from '@clerk/remix'
Expand All @@ -82,7 +82,7 @@ The `<UserProfile />` component is used to render a beautiful, full-featured acc
</If>

<If sdk="react-router">
The `<UserProfile />` component must embedded using the [React Router Splat route](https://reactrouter.com/start/framework/routing#splats) in order for the routing to work.
The `<UserProfile />` component must be embedded using the [React Router Splat route](https://reactrouter.com/start/framework/routing#splats) in order for the routing to work.

```tsx {{ filename: 'app/routes/user-profile.$.tsx' }}
import { UserProfile } from '@clerk/react-router'
Expand All @@ -94,7 +94,7 @@ The `<UserProfile />` component is used to render a beautiful, full-featured acc
</If>

<If sdk="tanstack-react-start">
The `<UserProfile />` component must embedded using the [TanStack Router catch-all route](https://tanstack.com/router/latest/docs/framework/react/routing/routing-concepts#splat--catch-all-routes) in order for the routing to work.
The `<UserProfile />` component must be embedded using the [TanStack Router catch-all route](https://tanstack.com/router/latest/docs/framework/react/routing/routing-concepts#splat--catch-all-routes) in order for the routing to work.

```tsx {{ filename: 'app/routes/user-profile.$.tsx' }}
import { UserProfile } from '@clerk/tanstack-react-start'
Expand Down