Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update organization-profile.mdx #1557

Merged
merged 1 commit into from
Sep 24, 2024
Merged
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
6 changes: 3 additions & 3 deletions docs/customization/organization-profile.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ The following example adds a link to the homepage in the navigation sidebar of t

## Reordering default routes

If you want to reorder the default routes, `Members` and `Settings`, set the `label` prop to `'members'` or `'settings'`. This will target the existing default page and allow you to rearrange it.
If you want to reorder the default routes, `Members` and `General`, set the `label` prop to `'members'` or `'general'`. This will target the existing default page and allow you to rearrange it.

Note that when reordering default routes, the first item in the navigation sidebar cannot be a `<OrganizationSwitcher.OrganizationProfileLink />` or `<OrganizationProfile.Link />` component.

Expand Down Expand Up @@ -402,7 +402,7 @@ Note that when reordering default routes, the first item in the navigation sideb
labelIcon={<DotIcon />}
/>
<OrganizationSwitcher.OrganizationProfilePage label="members" />
<OrganizationSwitcher.OrganizationProfilePage label="settings" />
<OrganizationSwitcher.OrganizationProfilePage label="general" />
</OrganizationSwitcher>
</header>
)
Expand Down Expand Up @@ -459,4 +459,4 @@ With the above example, the `<OrganizationProfile />` navigation sidebar will be
1. Custom Page
1. Homepage
1. Members
1. Settings
1. General
Loading