fix: select

This commit is contained in:
Timothy J. Baek 2024-03-24 15:31:09 -07:00
parent b218b02d93
commit df21a92542

View File

@ -69,9 +69,12 @@
label={item.label} label={item.label}
> >
{item.label} {item.label}
<Select.ItemIndicator class="ml-auto" asChild={false}>
<Check /> {#if value === item.value}
</Select.ItemIndicator> <div class="ml-auto">
<Check />
</div>
{/if}
</Select.Item> </Select.Item>
{:else} {:else}
<span class="block px-5 py-2 text-sm text-gray-700 dark:text-gray-100"> <span class="block px-5 py-2 text-sm text-gray-700 dark:text-gray-100">