diff --git a/.changeset/silly-numbers-sell.md b/.changeset/silly-numbers-sell.md new file mode 100644 index 0000000000..b88cca8a94 --- /dev/null +++ b/.changeset/silly-numbers-sell.md @@ -0,0 +1,5 @@ +--- +'@clerk/clerk-js': patch +--- + +Fix bug with missing or incorrect breadcrumbs in Organization and User profiles diff --git a/packages/clerk-js/src/ui/components/OrganizationProfile/ActionConfirmationPage.tsx b/packages/clerk-js/src/ui/components/OrganizationProfile/ActionConfirmationPage.tsx index 788c5d6efc..3b1fde4c20 100644 --- a/packages/clerk-js/src/ui/components/OrganizationProfile/ActionConfirmationPage.tsx +++ b/packages/clerk-js/src/ui/components/OrganizationProfile/ActionConfirmationPage.tsx @@ -131,6 +131,7 @@ const ActionConfirmationPage = withCardStateProvider((props: ActionConfirmationP diff --git a/packages/clerk-js/src/ui/components/OrganizationProfile/OrganizationProfileNavbar.tsx b/packages/clerk-js/src/ui/components/OrganizationProfile/OrganizationProfileNavbar.tsx index 0e2bfa189a..9306a562e4 100644 --- a/packages/clerk-js/src/ui/components/OrganizationProfile/OrganizationProfileNavbar.tsx +++ b/packages/clerk-js/src/ui/components/OrganizationProfile/OrganizationProfileNavbar.tsx @@ -54,6 +54,7 @@ const pageToRootNavbarRouteMap = { domain: organizationProfileRoutes.find(r => r.id === 'settings'), profile: organizationProfileRoutes.find(r => r.id === 'settings'), leave: organizationProfileRoutes.find(r => r.id === 'settings'), + delete: organizationProfileRoutes.find(r => r.id === 'settings'), }; export const OrganizationProfileBreadcrumbs = (props: Pick, 'title'>) => { diff --git a/packages/clerk-js/src/ui/components/UserProfile/ConnectedAccountsPage.tsx b/packages/clerk-js/src/ui/components/UserProfile/ConnectedAccountsPage.tsx index fef116e378..4bb84bd82f 100644 --- a/packages/clerk-js/src/ui/components/UserProfile/ConnectedAccountsPage.tsx +++ b/packages/clerk-js/src/ui/components/UserProfile/ConnectedAccountsPage.tsx @@ -85,7 +85,10 @@ const AddConnectedAccount = () => { }; return ( - + { return ( - + { - + {preferMagicLinks ? (