mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
Update board-buttons.tsx
This commit is contained in:
@@ -234,8 +234,8 @@ const PostPageStats = () => {
|
|||||||
const { closed, pinned, replyCount } = comment || {};
|
const { closed, pinned, replyCount } = comment || {};
|
||||||
const linkCount = useCountLinksInReplies(comment);
|
const linkCount = useCountLinksInReplies(comment);
|
||||||
|
|
||||||
const displayReplyCount = replyCount ? replyCount.toString() : '?';
|
const displayReplyCount = replyCount !== undefined ? replyCount.toString() : '?';
|
||||||
const replyCountTooltip = replyCount ? _.capitalize(t('replies')) : t('loading');
|
const replyCountTooltip = replyCount !== undefined ? _.capitalize(t('replies')) : t('loading');
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<span>
|
<span>
|
||||||
|
|||||||
Reference in New Issue
Block a user