Merge pull request #14 from janderedev/pr-1

pull/1049/head
Paul Makles 2021-08-06 14:48:15 +01:00 committed by GitHub
commit 78e053196a
1 changed files with 4 additions and 0 deletions

View File

@ -477,6 +477,10 @@ export default observer(({ channel }: Props) => {
return send();
}
if (e.key === "Escape" && replies.length > 0) {
setReplies(replies.slice(0, -1));
}
debouncedStopTyping(true);
}}
placeholder={