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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{comment.replyCount ?? <PostLoader />}
|
{comment.replyCount === undefined ? <PostLoader /> : null}
|
||||||
{comment.replyCount > 0 &&
|
{comment.replyCount > 0 &&
|
||||||
Object.keys(comment.replies.pages.topAll.comments).map(() => {
|
Object.keys(comment.replies.pages.topAll.comments).map(() => {
|
||||||
const renderedComments = renderThreadComments(comment.replies.pages.topAll.comments);
|
const renderedComments = renderThreadComments(comment.replies.pages.topAll.comments);
|
||||||
@@ -639,7 +639,7 @@ const Thread = () => {
|
|||||||
</blockquote>
|
</blockquote>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{comment.replyCount ?? <PostLoader />}
|
{comment.replyCount === undefined ? <PostLoader /> : null}
|
||||||
{comment.replyCount > 0 &&
|
{comment.replyCount > 0 &&
|
||||||
Object.keys(comment.replies.pages.topAll.comments).map(() => {
|
Object.keys(comment.replies.pages.topAll.comments).map(() => {
|
||||||
const renderedComments = renderThreadComments(comment.replies.pages.topAll.comments);
|
const renderedComments = renderThreadComments(comment.replies.pages.topAll.comments);
|
||||||
|
|||||||
Reference in New Issue
Block a user