Feed - posts #227
@ -49,6 +49,11 @@ export const NoteSubmit = ({
|
|||||||
content,
|
content,
|
||||||
nsfw
|
nsfw
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Reset form
|
||||||
|
setContent('')
|
||||||
|
setNsfw(false)
|
||||||
|
|
||||||
submit(JSON.stringify(formSubmit), {
|
submit(JSON.stringify(formSubmit), {
|
||||||
method: 'post',
|
method: 'post',
|
||||||
encType: 'application/json'
|
encType: 'application/json'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user