From 180203300155368d4b773c86f6490260bdc5b6b7 Mon Sep 17 00:00:00 2001 From: Hunter Johnston Date: Wed, 17 Apr 2024 23:04:59 -0400 Subject: [PATCH] conditional render input --- .../src/lib/bits/switch/components/switch-input.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/bits-ui/src/lib/bits/switch/components/switch-input.svelte b/packages/bits-ui/src/lib/bits/switch/components/switch-input.svelte index c68d90157..523f5679e 100644 --- a/packages/bits-ui/src/lib/bits/switch/components/switch-input.svelte +++ b/packages/bits-ui/src/lib/bits/switch/components/switch-input.svelte @@ -5,4 +5,6 @@ const inputState = getSwitchInputState(); - +{#if inputState.shouldRender} + +{/if}