Skip to content

Commit

Permalink
Change color of post reward if its liked
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Mar 14, 2024
1 parent 00042d4 commit 8790bbe
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/voting/SuperLike.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,14 @@ export default function SuperLike({ post, iconClassName, isComment, ...props }:
className='mx-2.5'
style={{ height: '1em', width: '1px', background: '#CBD5E1' }}
/>
<span className='ColorMuted d-flex align-items-center GapTiny'>{reward}</span>
<span
className={clsx(
'd-flex align-items-center GapTiny',
isActive ? 'ColorWhite' : 'ColorMuted',
)}
>
{reward}
</span>
</Tooltip>
)}
</PostRewardStatWrapper>
Expand Down

0 comments on commit 8790bbe

Please sign in to comment.