Skip to content

Commit 64189d0

Browse files
committed
fix wrong score field
1 parent 97f5b20 commit 64189d0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/cards/IndieHackersCard.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const StoryItem = ({ item, index }) => {
2727
<CardLink
2828
link={item.url}
2929
analyticsAttributes={{
30-
[Attributes.POINTS]: item.score,
30+
[Attributes.POINTS]: item.likes,
3131
[Attributes.TRIGERED_FROM]: 'card',
3232
[Attributes.TITLE]: item.title,
3333
[Attributes.LINK]: item.url,
@@ -36,7 +36,7 @@ const StoryItem = ({ item, index }) => {
3636
{listingMode === 'compact' && (
3737
<span className="counterWrapper">
3838
<VscTriangleUp />
39-
<span className="value">{item.score}</span>
39+
<span className="value">{item.likes}</span>
4040
</span>
4141
)}
4242

0 commit comments

Comments
 (0)