fix: clear the last type errors

asChild is a bits-ui v1 prop the icon picker no longer needs -- it already
passes a child snippet. The drop zone set both webkitdirectory and a bare
directory attribute, which no browser implements. The library view seeds its
collection state once by design, so it says so with untrack.
This commit is contained in:
2026-08-17 17:57:46 -04:00
parent 3a29294f96
commit 64fed8671e
3 changed files with 8 additions and 3 deletions
@@ -185,7 +185,6 @@
type="file"
onchange={change}
webkitdirectory={directory}
{directory}
class="hidden"
/>
</label>
@@ -37,7 +37,7 @@
</script>
<Popover.Root bind:open>
<Popover.Trigger asChild>
<Popover.Trigger>
{#snippet child({ props })}
<Button variant="outline" size="icon" class="h-9 w-9" {...props}>
<SelectedIconComponent class="size-4" />