Fix read more extra space

This commit is contained in:
Eric Bailey
2025-05-29 21:33:51 -05:00
parent ab18cfaa34
commit e6e1ca3415
4 changed files with 19 additions and 18 deletions
@@ -341,6 +341,7 @@ export function traverse(
* it itself needs a "read more"
*/
if (metadata.repliesUnhydrated > 0 && metadata.isLastChild) {
metadata.precedesChildReadMore = true
items.splice(i + 1, 0, views.readMore(metadata))
i++ // skip next iteration
}