|
1 | | -import { format } from 'timeago.js' |
2 | | -import { VscTriangleUp } from 'react-icons/vsc' |
3 | 1 | import { BiCommentDetail } from 'react-icons/bi' |
| 2 | +import { GoDotFill } from 'react-icons/go' |
4 | 3 | import { MdAccessTime } from 'react-icons/md' |
5 | | -import { GoPrimitiveDot } from 'react-icons/go' |
6 | | -import { CardLink, CardItemWithActions, ClickableItem } from 'src/components/Elements' |
| 4 | +import { VscTriangleUp } from 'react-icons/vsc' |
| 5 | +import { CardItemWithActions, CardLink, ClickableItem } from 'src/components/Elements' |
7 | 6 | import { Attributes } from 'src/lib/analytics' |
8 | | -import { BaseItemPropsType, Article } from 'src/types' |
9 | 7 | import { useUserPreferences } from 'src/stores/preferences' |
| 8 | +import { Article, BaseItemPropsType } from 'src/types' |
| 9 | +import { format } from 'timeago.js' |
10 | 10 |
|
11 | 11 | const ArticleItem = ({ item, index, analyticsTag }: BaseItemPropsType<Article>) => { |
12 | 12 | const { listingMode } = useUserPreferences() |
@@ -42,7 +42,7 @@ const ArticleItem = ({ item, index, analyticsTag }: BaseItemPropsType<Article>) |
42 | 42 | {listingMode === 'normal' && ( |
43 | 43 | <div className="rowDetails"> |
44 | 44 | <span className="rowItem lobstersRowItem"> |
45 | | - <GoPrimitiveDot className="rowItemIcon" /> {item.reactions} points |
| 45 | + <GoDotFill className="rowItemIcon" /> {item.reactions} points |
46 | 46 | </span> |
47 | 47 | <span className="rowItem" title={new Date(item.published_at).toUTCString()}> |
48 | 48 | <MdAccessTime className="rowItemIcon" /> {format(new Date(item.published_at))} |
|
0 commit comments