diff --git a/webui/src/pages/bug/CommentForm.tsx b/webui/src/pages/bug/CommentForm.tsx index fb33a8be1994f9864a0ff4aca4bc8118e824a0c8..1a7ebc291a25ecabec29f1e7ab47c2eb80a3e55f 100644 --- a/webui/src/pages/bug/CommentForm.tsx +++ b/webui/src/pages/bug/CommentForm.tsx @@ -81,11 +81,11 @@ function CommentForm({ bug }: Props) { function getBugStatusButton() { if (bug.status === 'OPEN' && issueComment.length > 0) { return ; - } else if (bug.status === 'OPEN') { + } + if (bug.status === 'OPEN') { return ; - } else { - return 0} />; } + return 0} />; } return (