Fix infinite request issue (#2070)

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
This commit is contained in:
Freddy Boulton 2022-08-27 18:06:18 -04:00 committed by GitHub
parent 43c7e8a4a4
commit 6219dc7b0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@
{:else}
<button
class="px-4 pb-2 pt-1.5 border-transparent text-gray-400 hover:text-gray-700 -mb-[2px] border-2 border-b-0"
on:click={() => (selected = t.id)}
on:click={() => change_tab(t.id)}
>
{t.name}
</button>