fix buttons missing type="button"

Triggers unintentional form submits if missing `type` property.
This commit is contained in:
Elijah Duffy
2025-08-18 18:40:44 -07:00
parent db081c93b7
commit 642ab24029
6 changed files with 16 additions and 2 deletions

View File

@@ -93,6 +93,7 @@
{#each pages as page, i (page.title)}
{@const active = activeIndex === i}
<button
type="button"
bind:this={refs[i]}
class={['-mb-[2px] cursor-pointer px-2']}
onclick={() => {