chore(Switch): clean

This commit is contained in:
Benjamin Canac
2024-04-08 17:20:01 +02:00
parent c0ab0cdde0
commit d545a927a1

View File

@@ -40,7 +40,6 @@ const emits = defineEmits<SwitchEmits>()
const appConfig = useAppConfig()
const rootProps = useForwardPropsEmits(reactivePick(props, 'as', 'defaultChecked', 'checked', 'required', 'value'), emits)
const { inputId, emitFormChange, size, color, name, disabled } = useFormField<SwitchProps>(props)
const ui = computed(() => tv({ extend: switchTv, slots: props.ui })({