Fix: button triggering form (#1750)
prevent button from triggering form
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
class="mx-2 inline-flex h-4 w-4 items-center justify-center rounded-full text-gray-400 outline-none focus:shadow-sm focus:shadow-black"
|
||||
as-child
|
||||
>
|
||||
<button @click="open = !open">
|
||||
<button type="button" @click="open = !open">
|
||||
<slot />
|
||||
</button>
|
||||
</TooltipTrigger>
|
||||
|
||||
Reference in New Issue
Block a user