mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
update fix
This commit is contained in:
@@ -534,7 +534,6 @@ const Thread = ({ setBodyStyle }) => {
|
||||
<a onClick={handleClickBottom} onMouseOver={(event) => event.target.style.cursor='pointer'} onTouchStart={handleClickBottom}>Bottom</a>
|
||||
]
|
||||
</span>
|
||||
{/* "loading" indicator while replycount loads */}
|
||||
{comment ? (
|
||||
comment.replyCount !== undefined ? (
|
||||
comment.replyCount > 0 ? (
|
||||
@@ -918,11 +917,20 @@ const Thread = ({ setBodyStyle }) => {
|
||||
</select>
|
||||
</span>
|
||||
{comment ? (
|
||||
comment.replyCount > 0 ? (
|
||||
<span className="reply-stat">{comment.replyCount} replies</span>
|
||||
comment.replyCount !== undefined ? (
|
||||
comment.replyCount > 0 ? (
|
||||
comment.replyCount === 1 ? (
|
||||
<span className="reply-stat">{comment.replyCount} reply</span>
|
||||
) : (
|
||||
<span className="reply-stat">{comment.replyCount} replies</span>
|
||||
)
|
||||
) : (
|
||||
<span className="reply-stat">No replies yet</span>
|
||||
)
|
||||
) : (
|
||||
<span className="reply-stat">No replies yet</span>
|
||||
)) : (
|
||||
<span className="reply-stat">Loading...</span>
|
||||
)
|
||||
) : (
|
||||
null
|
||||
)}
|
||||
<hr />
|
||||
|
||||
Reference in New Issue
Block a user