mirror of
https://github.com/gurnec/removeddit.git
synced 2026-03-11 08:54:27 +00:00
Fix single-comment-view bug introduced in 702668a
This commit is contained in:
parent
2d32874d31
commit
1e25ed18b0
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue