Skip to content

Commit

Permalink
Highlight already upvoted lines
Browse files Browse the repository at this point in the history
  • Loading branch information
3b1b committed Feb 29, 2024
1 parent 8499130 commit c1437ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/pages/edit/Row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function Row({ index, entries }: Props) {
return (
<div
ref={ref}
className={classNames(classes.row, (edited || upvoted) && classes.edited)}
className={classNames(classes.row, (edited || upvoted || reviews > 0) && classes.edited)}
>
{/* actions */}
<div className={classes.actions}>
Expand Down

0 comments on commit c1437ff

Please sign in to comment.