fix: multiple issue comment (#3854)
This commit is contained in:
parent
d39f2526a2
commit
e4bccea824
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue