diff --git a/apps/www/src/lib/registry/default/ui/switch/Switch.vue b/apps/www/src/lib/registry/default/ui/switch/Switch.vue index 49d9af1f..acab25ed 100644 --- a/apps/www/src/lib/registry/default/ui/switch/Switch.vue +++ b/apps/www/src/lib/registry/default/ui/switch/Switch.vue @@ -8,20 +8,14 @@ import { useForwardPropsEmits, } from 'radix-vue' import { computed, type HTMLAttributes } from 'vue' - const props = defineProps() - const emits = defineEmits() - const delegatedProps = computed(() => { const { class: _, ...delegated } = props - return delegated }) - const forwarded = useForwardPropsEmits(delegatedProps, emits) - diff --git a/apps/www/src/lib/registry/new-york/ui/switch/Switch.vue b/apps/www/src/lib/registry/new-york/ui/switch/Switch.vue index bc2da72f..afa7c27d 100644 --- a/apps/www/src/lib/registry/new-york/ui/switch/Switch.vue +++ b/apps/www/src/lib/registry/new-york/ui/switch/Switch.vue @@ -32,6 +32,8 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits) > + > + +