Merge pull request #14 from janderedev/pr-1

pull/17/head
Paul Makles 2021-08-06 14:48:15 +01:00 committed by GitHub
commit 8d65e1ee11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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={