forked from Kieran/snort
Merge pull request #139 from v0l/fix-note-send
fix: hide note creator on send
This commit is contained in:
commit
6c0469d89f
@ -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