Skip to content

Commit

Permalink
Adjusted the title
Browse files Browse the repository at this point in the history
  • Loading branch information
Pdzly committed Jan 3, 2024
1 parent 453bba4 commit 6a9af56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/button-votes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const VoteButtons = ({
<VoteButton label="Upvote arrow" onClick={() => onVote(myVote === 1 ? 0 : 1)}>
<Icon IconType={ArrowUpIcon} size={ICON_SIZE.SMALL} textClassName={`${myVote === 1 ? 'text-blue-600' : 'text-gray-700 dark:text-white'} hover:text-blue-400 dark:hover:text-blue-400`} />
</VoteButton>
<PaleBodyText title="Post score" className="text-xs">{points}</PaleBodyText>
<PaleBodyText title="Vote score" className="text-xs">{points}</PaleBodyText>
<VoteButton label="Downvote arrow" onClick={() => onVote(myVote === -1 ? 0 : -1)}>
<Icon IconType={ArrowDownIcon} size={ICON_SIZE.SMALL} textClassName={`${myVote === -1 ? 'text-red-600' : 'text-gray-700 dark:text-white'} dark:hover:text-red-400 hover:text-red-400`} />
</VoteButton>
Expand Down

0 comments on commit 6a9af56

Please sign in to comment.