mirror of
https://github.com/PrimalHQ/primal-web-app.git
synced 2024-10-01 17:31:13 +00:00
Fix clearing draft after posting
This commit is contained in:
parent
ba571fedaa
commit
e3bda9e793
@ -664,6 +664,7 @@ const EditBox: Component<{
|
||||
toast?.sendSuccess(intl.formatMessage(tToast.publishNoteSuccess));
|
||||
props.onSuccess && props.onSuccess({ success, reasons, note });
|
||||
setIsPostingInProgress(false);
|
||||
saveNoteDraft(account.publicKey, '', props.replyToNote?.post.id)
|
||||
clearEditor();
|
||||
}
|
||||
unsub();
|
||||
|
Loading…
Reference in New Issue
Block a user