jam411 3 лет назад
Родитель
Сommit
762ae559d1
1 измененных файлов с 2 добавлено и 2 удалено
  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>
+    </>
   );
 };