diff --git a/src/pages/thread/CommentSection.js b/src/pages/thread/CommentSection.js index dc975e8..a55cbf5 100644 --- a/src/pages/thread/CommentSection.js +++ b/src/pages/thread/CommentSection.js @@ -44,7 +44,7 @@ const unflatten = (comments, root, removed, deleted) => { let rootComment if ((rootComment = lookup.get(root)) !== undefined) { rootComment.replies = commentTree - return rootComment + return [rootComment] } return commentTree