fix: downvotes wont appear properly
This commit is contained in:
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',
|
||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in new issue
Block a user