refac: collapsible

This commit is contained in:
Timothy Jaeryang Baek
2025-04-30 22:26:07 +04:00
parent 41904f21e4
commit e52e45d613
3 changed files with 9 additions and 8 deletions
@@ -374,8 +374,8 @@
buttonClassName="w-full"
hide={(folders[folderId]?.childrenIds ?? []).length === 0 &&
(folders[folderId].items?.chats ?? []).length === 0}
on:change={(e) => {
dispatch('open', e.detail);
onChange={(state) => {
dispatch('open', state);
}}
>
<!-- svelte-ignore a11y-no-static-element-interactions -->