This commit is contained in:
Alejandro Gomez 2023-01-14 12:43:09 +01:00
parent 846909536d
commit 666ab8ebdb
No known key found for this signature in database
GPG Key ID: 4DF39E566658C817

View File

@ -24,12 +24,12 @@ export function NoteCreator(props) {
async function sendNote() {
let ev = replyTo ? await publisher.reply(replyTo, note) : await publisher.note(note);
console.debug("Sending note: ", ev);
publisher.broadcast(ev)
publisher.broadcast(ev);
setNote("");
setActive(false);
if (typeof onSend === "function") {
onSend();
}
setActive(false)
}
async function attachFile() {