fix: hide note creator on send

This commit is contained in:
Alejandro Gomez 2023-01-25 19:16:24 +01:00
parent 9ca3b547c2
commit 2b4bb776fc
No known key found for this signature in database
GPG Key ID: 4DF39E566658C817

View File

@ -35,6 +35,7 @@ export function NoteCreator(props: NoteCreatorProps) {
console.debug("Sending note: ", ev);
publisher.broadcast(ev);
setNote("");
setShow(false);
if (typeof props.onSend === "function") {
props.onSend();
}