forked from github/plane
fix: multiple issue comment (#3854)
This commit is contained in:
parent
d39f2526a2
commit
e4bccea824
@ -74,7 +74,7 @@ export const IssueCommentCreate: FC<TIssueCommentCreate> = (props) => {
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
onKeyDown={(e) => {
|
onKeyDown={(e) => {
|
||||||
if (e.key === "Enter" && !e.shiftKey && !isEmpty) {
|
if (e.key === "Enter" && !e.shiftKey && !isEmpty && !isSubmitting) {
|
||||||
handleSubmit(onSubmit)(e);
|
handleSubmit(onSubmit)(e);
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
Loading…
Reference in New Issue
Block a user