diff --git a/packages/svelteui-core/src/components/InputWrapper/InputWrapper.svelte b/packages/svelteui-core/src/components/InputWrapper/InputWrapper.svelte index 82f88b6e..78ffd711 100644 --- a/packages/svelteui-core/src/components/InputWrapper/InputWrapper.svelte +++ b/packages/svelteui-core/src/components/InputWrapper/InputWrapper.svelte @@ -23,10 +23,6 @@ size: $$Props['size'] = 'sm'; export { className as class }; - let _labelProps; - $: { - _labelProps = labelElement === 'label' ? { htmlFor: id, ...labelProps } : { ...labelProps }; - } $: ({ cx, classes, getStyles } = useStyles({ size }, { name: 'InputWrapper' })); @@ -37,7 +33,7 @@ {...$$restProps} > {#if label} - + {/if} {#if description}