fix(web): require button type (#9786)

This commit is contained in:
Michel Heusschen
2024-05-27 09:06:15 +02:00
committed by GitHub
parent fc5615eff6
commit 38f4a02a14
41 changed files with 113 additions and 59 deletions

View File

@@ -17,7 +17,7 @@
<div class="flex items-center justify-center mt-4">
<div class="grid grid-cols-2 md:grid-cols-5 gap-4">
{#each colors as color}
<button on:click={() => dispatch('choose', color)}>
<button type="button" on:click={() => dispatch('choose', color)}>
<UserAvatar label={color} {user} {color} size="xl" showProfileImage={false} />
</button>
{/each}