bug: Clear input when sending DM

This commit is contained in:
Kieran 2023-01-17 10:53:49 +00:00
parent 6736bdf359
commit 7c89277f0d
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -50,7 +50,7 @@ export default function ChatPage() {
let ev = await publisher.sendDm(content, id);
console.debug(ev);
publisher.broadcast(ev);
setContent(undefined);
setContent("");
}
}