refactor: explicit type for buttons

This commit is contained in:
Scott
2024-04-30 11:33:08 -04:00
parent a606b34a19
commit 12a9aec319
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ const {
} = Astro.props;
---
<button class={className} aria-label={label} data-aw-toggle-menu>
<button type="button" class={className} aria-label={label} data-aw-toggle-menu>
<span class="sr-only">{label}</span>
<slot>
<span