From 4cf7d8a20563acf72b2d8ffe3fda5110f26fdb29 Mon Sep 17 00:00:00 2001 From: Davide Iadeluca Date: Sun, 27 Oct 2024 10:58:09 +0100 Subject: [PATCH] chore: regression --- js/src/forum/components/Voters.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/forum/components/Voters.tsx b/js/src/forum/components/Voters.tsx index 9167e70..a4a2030 100644 --- a/js/src/forum/components/Voters.tsx +++ b/js/src/forum/components/Voters.tsx @@ -51,7 +51,7 @@ export default class Voters extends Component { } view() { - if (this.attrs.post.votes() === 0 || this.attrs.post.upvotes().length === 0) { + if (!!this.attrs.post.votes() === false || !this.attrs.post.upvotes()) { return (