From e15d0f933e72b21905d33a7725e23543841e47b7 Mon Sep 17 00:00:00 2001 From: Jason Aw <73338582+jasonaw98@users.noreply.github.com> Date: Mon, 23 Sep 2024 00:35:49 +0800 Subject: [PATCH] Update organization-profile.mdx Docs did not reflect proper props: type OrganizationProfilePageProps = PageProps<'general' | 'members'>; --- docs/customization/organization-profile.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/customization/organization-profile.mdx b/docs/customization/organization-profile.mdx index 08572cfe3a..e7c61bc059 100644 --- a/docs/customization/organization-profile.mdx +++ b/docs/customization/organization-profile.mdx @@ -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 `` or `` component. @@ -402,7 +402,7 @@ Note that when reordering default routes, the first item in the navigation sideb labelIcon={} /> - + ) @@ -459,4 +459,4 @@ With the above example, the `` navigation sidebar will be 1. Custom Page 1. Homepage 1. Members -1. Settings +1. General