mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-04 21:39:49 +00:00
hide 0 comment_likecount
This commit is contained in:
@@ -57,12 +57,15 @@ const CommentBox = ({ comment }: CommentBoxProps) => {
|
||||
<div className="comment-meta">
|
||||
<span>{formatDate(comment.comment_timestamp * 1000)}</span>
|
||||
|
||||
<span className="space-carrot">|</span>
|
||||
|
||||
<span className="thumb-icon">
|
||||
<img src={iconThumb} />{' '}
|
||||
{formatNumbers(comment.comment_likecount, { notation: 'compact' })}
|
||||
</span>
|
||||
{comment.comment_likecount > 0 && (
|
||||
<>
|
||||
<span className="space-carrot">|</span>
|
||||
<span className="thumb-icon">
|
||||
<img src={iconThumb} />{' '}
|
||||
{formatNumbers(comment.comment_likecount, { notation: 'compact' })}
|
||||
</span>
|
||||
</>
|
||||
)}
|
||||
|
||||
{comment.comment_is_favorited && (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user