jam411 3 anni fa
parent
commit
cf5815ce4b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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}