mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-26 00:50:56 -05:00
Merge pull request #14 from janderedev/pr-1
This commit is contained in:
commit
8d65e1ee11
1 changed files with 4 additions and 0 deletions
|
@ -477,6 +477,10 @@ export default observer(({ channel }: Props) => {
|
||||||
return send();
|
return send();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (e.key === "Escape" && replies.length > 0) {
|
||||||
|
setReplies(replies.slice(0, -1));
|
||||||
|
}
|
||||||
|
|
||||||
debouncedStopTyping(true);
|
debouncedStopTyping(true);
|
||||||
}}
|
}}
|
||||||
placeholder={
|
placeholder={
|
||||||
|
|
Loading…
Reference in a new issue