Skip to content

Commit 00c5105

Browse files
test(mosaic): turn on experimental.newProfiles in the Mosaic integration app
1 parent c8d880f commit 00c5105

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎integration/templates/next-app-router-mosaic/src/app/custom/page.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { MosaicProvider, UserButton } from '@clerk/mosaic';
44

55
export default function Page() {
66
return (
7-
<MosaicProvider>
7+
<MosaicProvider experimental={{ newProfiles: true }}>
88
<UserButton
99
customMenuItems={[{ id: 'custom-link', label: 'Custom link', href: '/custom/link-target' }]}
1010
userProfileProps={{

‎integration/templates/next-app-router-mosaic/src/app/mosaic-user-button.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { MosaicProvider, UserButton } from '@clerk/mosaic';
44

55
export function MosaicUserButton() {
66
return (
7-
<MosaicProvider>
7+
<MosaicProvider experimental={{ newProfiles: true }}>
88
<UserButton />
99
</MosaicProvider>
1010
);

‎integration/templates/next-app-router-mosaic/src/app/organization-switcher/page.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { MosaicProvider, OrganizationSwitcher } from '@clerk/mosaic';
44

55
export default function Page() {
66
return (
7-
<MosaicProvider>
7+
<MosaicProvider experimental={{ newProfiles: true }}>
88
<OrganizationSwitcher
99
customMenuItems={[{ id: 'custom-link', label: 'Custom link', href: '/custom/link-target' }]}
1010
organizationProfileProps={{

0 commit comments

Comments
 (0)