瀏覽代碼

fix linting errors

AlexiCauvin 6 年之前
父節點
當前提交
022b450196
共有 1 個文件被更改,包括 5 次插入6 次删除
  1. 5 6
      frontend_lib/src/component/Timeline/Comment.jsx

+ 5 - 6
frontend_lib/src/component/Timeline/Comment.jsx 查看文件

@@ -25,12 +25,11 @@ const Comment = props => {
25 25
           {props.avatar ? <img src={props.avatar} /> : ''}
26 26
         </div>
27 27
       </div>
28
-      <div
29
-        className={classnames(`${props.customClass}__messagelist__item__authorandhour`, 'timeline__body__messagelist__item__authorandhour')}>
30
-          <div className='mr-5'>
31
-            {props.createdAt}
32
-          </div>
33
-          {props.author}
28
+      <div className={classnames(`${props.customClass}__messagelist__item__authorandhour`, 'timeline__body__messagelist__item__authorandhour')}>
29
+        <div className='mr-5'>
30
+          {props.createdAt}
31
+        </div>
32
+        {props.author}
34 33
       </div>
35 34
       <div
36 35
         className={classnames(`${props.customClass}__messagelist__item__content`, 'timeline__body__messagelist__item__content')}