forked from Kieran/snort
fix: hide note creator on send
This commit is contained in:
parent
9ca3b547c2
commit
2b4bb776fc
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user