Ver Fonte

clean code

jam411 há 3 anos atrás
pai
commit
cf5815ce4b
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      packages/app/src/components/PageComment.tsx

+ 1 - 1
packages/app/src/components/PageComment.tsx

@@ -229,7 +229,7 @@ export const PageComment: FC<PageCommentProps> = memo((props:PageCommentProps):
           </div>
         </div>
       </div>
-      {(!isReadOnly) && (
+      {!isReadOnly && (
         <DeleteCommentModal
           isShown={isDeleteConfirmModalShown}
           comment={commentToBeDeleted}