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