misc: Split post component into more components
This commit is contained in:
1 parent
58057bbeaa
commit
b0f3e01f5a
9 files changed
+183
-188
No files matched your search
@@ -71,3 +71,12 @@ export function buildCommentsTree(
|
||||
|
||||
return tree
|
||||
}
|
||||
|
||||
export async function buildCommentsTreeAsync(
|
||||
comments: CommentView[],
|
||||
parentComment: boolean
|
||||
) {
|
||||
const result = buildCommentsTree(comments, parentComment)
|
||||
|
||||
return result
|
||||
}
|
||||
Reference in new issue
Block a user