fix: downvotes wont appear properly

This commit is contained in:
James Xylight committed 2025-06-10 18:38:23 -07:00
1 parent c7deeef201
commit 664af6382e
1 file changed
+1 -1
@@ -74,7 +74,7 @@
class={[ class={[
'flex flex-row-reverse items-center gap-0.5 transition-colors px-1.5 h-full cursor-pointer', 'flex flex-row-reverse items-center gap-0.5 transition-colors px-1.5 h-full cursor-pointer',
vote == -1 vote == -1
? shouldShowVoteColor(vote, 'upvotes') ? shouldShowVoteColor(vote, 'downvotes')
: 'hover:bg-slate-100 dark:hover:bg-zinc-800', : 'hover:bg-slate-100 dark:hover:bg-zinc-800',
]} ]}
> >