jam411 3 лет назад
Родитель
Сommit
ff50abd6a8
1 измененных файлов с 2 добавлено и 7 удалено
  1. 2 7
      packages/app/src/components/PageComment/Comment.tsx

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

@@ -69,19 +69,14 @@ export const Comment = (props: CommentProps): JSX.Element => {
     return creator.username === currentUser.username;
     return creator.username === currentUser.username;
   };
   };
 
 
-<<<<<<< HEAD
   const getRootClassName = (comment) => {
   const getRootClassName = (comment) => {
     let className = `${styles['page-comment']} page-comment flex-column`;
     let className = `${styles['page-comment']} page-comment flex-column`;
-=======
-  const getRootClassName = (comment: ICommentHasId) => {
-    let className = 'page-comment flex-column';
->>>>>>> support/rendering-CommentEditorLazyRenderer
 
 
     if (comment.revision === currentRevisionId) {
     if (comment.revision === currentRevisionId) {
-      className += ' page-comment-current page-comment flex-column';
+      className += ' page-comment-current';
     }
     }
     else if (comment.createdAt.getTime() > currentRevisionCreatedAt.getTime()) {
     else if (comment.createdAt.getTime() > currentRevisionCreatedAt.getTime()) {
-      className += ' page-comment-newer page-comment flex-column';
+      className += ' page-comment-newer';
     }
     }
     else {
     else {
       className += ' page-comment-older';
       className += ' page-comment-older';