Explorar o código

Revert unintented change in pagecomment

arvid-e hai 10 meses
pai
achega
d2267d0b85
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      apps/app/src/client/components/PageComment/Comment.tsx

+ 0 - 2
apps/app/src/client/components/PageComment/Comment.tsx

@@ -80,9 +80,7 @@ export const Comment = (props: CommentProps): JSX.Element => {
 
 
   const getRootClassName = (comment: ICommentHasId) => {
   const getRootClassName = (comment: ICommentHasId) => {
     let className = 'page-comment flex-column';
     let className = 'page-comment flex-column';
-
     // TODO: fix so that `comment.createdAt` to be type Date https://redmine.weseek.co.jp/issues/113876
     // TODO: fix so that `comment.createdAt` to be type Date https://redmine.weseek.co.jp/issues/113876
-    // make it the same as the one under.. maybe
     const commentCreatedAtFixed = typeof comment.createdAt === 'string'
     const commentCreatedAtFixed = typeof comment.createdAt === 'string'
       ? parseISO(comment.createdAt)
       ? parseISO(comment.createdAt)
       : comment.createdAt;
       : comment.createdAt;