jam411 3 tahun lalu
induk
melakukan
762ae559d1
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      packages/app/src/components/PageComment/Comment.tsx

+ 2 - 2
packages/app/src/components/PageComment/Comment.tsx

@@ -120,7 +120,7 @@ export const Comment = (props: CommentProps): JSX.Element => {
     : null;
 
   return (
-    <React.Fragment>
+    <>
       {(isReEdit && !isReadOnly) ? (
         <CommentEditor
           rendererOptions={rendererOptions}
@@ -173,6 +173,6 @@ export const Comment = (props: CommentProps): JSX.Element => {
         </div>
       )
       }
-    </React.Fragment>
+    </>
   );
 };