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);
|
console.debug("Sending note: ", ev);
|
||||||
publisher.broadcast(ev);
|
publisher.broadcast(ev);
|
||||||
setNote("");
|
setNote("");
|
||||||
|
setShow(false);
|
||||||
if (typeof props.onSend === "function") {
|
if (typeof props.onSend === "function") {
|
||||||
props.onSend();
|
props.onSend();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user