mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix replyCount
This commit is contained in:
@@ -480,7 +480,7 @@ const Thread = () => {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{comment.replyCount ?? <PostLoader />}
|
||||
{comment.replyCount === undefined ? <PostLoader /> : null}
|
||||
{comment.replyCount > 0 &&
|
||||
Object.keys(comment.replies.pages.topAll.comments).map(() => {
|
||||
const renderedComments = renderThreadComments(comment.replies.pages.topAll.comments);
|
||||
@@ -639,7 +639,7 @@ const Thread = () => {
|
||||
</blockquote>
|
||||
</div>
|
||||
</div>
|
||||
{comment.replyCount ?? <PostLoader />}
|
||||
{comment.replyCount === undefined ? <PostLoader /> : null}
|
||||
{comment.replyCount > 0 &&
|
||||
Object.keys(comment.replies.pages.topAll.comments).map(() => {
|
||||
const renderedComments = renderThreadComments(comment.replies.pages.topAll.comments);
|
||||
|
||||
Reference in New Issue
Block a user