Skip to content

Commit e460321

Browse files
authored
Also handle if comment is 0
1 parent 6bd5430 commit e460321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/components/plugins/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function Plugin({
7676
''
7777
)}
7878
<div>{calcRating(upVotes, downVotes)}</div>
79-
{comments && (
79+
{comments > 0 && (
8080
<div>
8181
{comments} <span className='icon chat_bubble' />
8282
</div>

0 commit comments

Comments
 (0)