fix(event): reset form after publish

This commit is contained in:
en 2025-02-14 17:39:49 +01:00
parent 30602d2e55
commit efaec1fea5

@ -49,6 +49,11 @@ export const NoteSubmit = ({
content,
nsfw
}
// Reset form
setContent('')
setNsfw(false)
submit(JSON.stringify(formSubmit), {
method: 'post',
encType: 'application/json'