🐛 Bug fixes of upload
This commit is contained in:
parent
4e2147b679
commit
2480dd9b6e
@ -41,6 +41,7 @@ export default function PostEditActions(props: {
|
||||
} else {
|
||||
const data = await res.json();
|
||||
setAttachments(attachments().concat([data.info]));
|
||||
props.onInputAttachments(attachments());
|
||||
props.onError(null);
|
||||
form.reset();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user