Using human readable number for comment like count.

This commit is contained in:
Roland 2024-08-22 21:18:42 -06:00
parent d5ca3e7f02
commit a3e9952c4d
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
2 changed files with 8 additions and 3 deletions

View file

@ -112,7 +112,7 @@ const VideoComment = ({comment, children}) => {
const dateElm = <div {...t}>{isoDatetimeToString(timestamp * 1000)}</div>;
const likesElm = like_count && <div {...t}>
<Icon name='thumbs up'/>{comment['like_count']}
<Icon name='thumbs up'/>{humanNumber(comment['like_count'])}
</div>;
return <Comment>