mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
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 (
|
||||
<div
|
||||
onKeyDown={(e) => {
|
||||
if (e.key === "Enter" && !e.shiftKey && !isEmpty) {
|
||||
if (e.key === "Enter" && !e.shiftKey && !isEmpty && !isSubmitting) {
|
||||
handleSubmit(onSubmit)(e);
|
||||
}
|
||||
}}
|
||||
|
Loading…
Reference in New Issue
Block a user