feat: only show comment form when you press 'create comment'

This commit is contained in:
Xyphyn committed 2023-09-23 15:03:41 -07:00
1 parent 1b4bd8081f
commit 856ce6bbec
3 files changed
+27 -14

No files matched your search

+1 -3
View File
@@ -112,9 +112,7 @@ export function insertCommentIntoTree(
}
}
export async function buildCommentsTreeAsync(
comments: CommentView[],
) {
export async function buildCommentsTreeAsync(comments: CommentView[]) {
const result = buildCommentsTree(comments)
return result