diff --git a/.changeset/curvy-flowers-whisper.md b/.changeset/curvy-flowers-whisper.md new file mode 100644 index 00000000000..8cf7bb5fc27 --- /dev/null +++ b/.changeset/curvy-flowers-whisper.md @@ -0,0 +1,5 @@ +--- +"@clerk/vue": patch +--- + +Remove `customPages` prop types from ``, `` and `` to align with runtime behavior. diff --git a/packages/vue/src/components/ui-components/OrganizationProfile/OrganizationProfile.vue b/packages/vue/src/components/ui-components/OrganizationProfile/OrganizationProfile.vue index 9d15e2841c3..7be7f1973d4 100644 --- a/packages/vue/src/components/ui-components/OrganizationProfile/OrganizationProfile.vue +++ b/packages/vue/src/components/ui-components/OrganizationProfile/OrganizationProfile.vue @@ -6,8 +6,11 @@ import type { OrganizationProfileProps } from '@clerk/types'; import { OrganizationProfileInjectionKey } from '../../../keys'; import { ClerkHostRenderer, CustomPortalsRenderer } from '../../ClerkHostRenderer'; -const props = defineProps(); +type Props = Omit; +const props = defineProps(); + const clerk = useClerk(); + const { customPages, customPagesPortals, addCustomPage } = useOrganizationProfileCustomPages(); const finalProps = computed(() => ({ diff --git a/packages/vue/src/components/ui-components/UserButton/UserButton.vue b/packages/vue/src/components/ui-components/UserButton/UserButton.vue index dfcbbe12c70..905eb4fd781 100644 --- a/packages/vue/src/components/ui-components/UserButton/UserButton.vue +++ b/packages/vue/src/components/ui-components/UserButton/UserButton.vue @@ -1,13 +1,15 @@