File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed
Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change 1919 {{ comment.created | createdDate }}
2020 </small >
2121 </p >
22- <nav class =" level is-mobile" >
23- <div class =" level-left" >
24- <a class =" level-item" >
25- <span class =" icon is-medium has-text-info" >
26- <font-awesome-icon icon =" heart" />
27- </span >
28- {{ comment.likesCount }}
29- </a >
30- </div >
31- </nav >
3222 </div >
3323 </div >
3424 </article >
Original file line number Diff line number Diff line change @@ -14,8 +14,7 @@ export const commentMapper = comment => ({
1414 created : comment . created_at ,
1515 updated : comment . updated_at ,
1616 author : userMapper ( comment . author ) ,
17- // @todo fix backend api
18- likesCount : comment . likes_count || 0
17+ likesCount : comment . likes_count
1918} ) ;
2019
2120export const tweetMapper = tweet => ( {
You can’t perform that action at this time.
0 commit comments