fix: add type="button" to close button

fix #95
This commit is contained in:
Shusui MOYATANI
2024-04-10 08:24:42 +09:00
parent 66320af8b2
commit 853fedf02f

View File

@@ -404,6 +404,7 @@ const NotePostForm: Component<NotePostFormProps> = (props) => {
'h-8': mode() === 'reply',
'w-8': mode() === 'reply',
}}
type="button"
onClick={() => close()}
>
<span class="inline-block size-5 text-fg-secondary/70">