|
@ -55,7 +55,7 @@ class StatusWithComments extends ImmutablePureComponent { |
|
|
{childrenWithGrandchildren |
|
|
{childrenWithGrandchildren |
|
|
.filter((_, idx) => showAll || idx < N) |
|
|
.filter((_, idx) => showAll || idx < N) |
|
|
.map(({ cid, grandchildrenIds }) => ( |
|
|
.map(({ cid, grandchildrenIds }) => ( |
|
|
<> |
|
|
|
|
|
|
|
|
<React.Fragment key={cid}> |
|
|
<StatusContainer |
|
|
<StatusContainer |
|
|
key={`comment-${cid}`} |
|
|
key={`comment-${cid}`} |
|
|
id={cid} |
|
|
id={cid} |
|
@ -73,7 +73,7 @@ class StatusWithComments extends ImmutablePureComponent { |
|
|
{!showAll && grandchildrenIds.size > N && loadMore} |
|
|
{!showAll && grandchildrenIds.size > N && loadMore} |
|
|
</div> |
|
|
</div> |
|
|
)} |
|
|
)} |
|
|
</> |
|
|
|
|
|
|
|
|
</React.Fragment> |
|
|
))} |
|
|
))} |
|
|
{!showAll && childrenWithGrandchildren.size > N && loadMore} |
|
|
{!showAll && childrenWithGrandchildren.size > N && loadMore} |
|
|
</div> |
|
|
</div> |
|
|