This commit is contained in:
Timothy Jaeryang Baek 2025-09-12 15:57:04 +04:00
parent 4977e6d50f
commit d973db829f

View file

@ -92,6 +92,7 @@
transition={flyAndScale} transition={flyAndScale}
> >
{#if tools} {#if tools}
{#if Object.keys(tools).length > 0}
<button <button
class="flex w-full justify-between gap-2 items-center px-3 py-1.5 text-sm cursor-pointer rounded-xl hover:bg-gray-50 dark:hover:bg-gray-800" class="flex w-full justify-between gap-2 items-center px-3 py-1.5 text-sm cursor-pointer rounded-xl hover:bg-gray-50 dark:hover:bg-gray-800"
on:click={() => { on:click={() => {
@ -122,6 +123,7 @@
</div> </div>
{/if} {/if}
</button> </button>
{/if}
{:else} {:else}
<div class="py-4"> <div class="py-4">
<Spinner /> <Spinner />