X-Git-Url: http://these/git/?a=blobdiff_plain;f=src%2Fshared%2Futils%2Fapp%2Fbuild-comments-tree.ts;h=2b47e393da38e5121cb26edb39a642cbb260368d;hb=9f2289d46600385354d3673b0ef2ba921a1fbe49;hp=8857fa42e3733b4399a7948dc22fcc4236e4c42b;hpb=dd42bc2a3dc75a33d20bb5b2f9dfbbfb7e12b153;p=lemmy-ui.git diff --git a/src/shared/utils/app/build-comments-tree.ts b/src/shared/utils/app/build-comments-tree.ts index 8857fa4..2b47e39 100644 --- a/src/shared/utils/app/build-comments-tree.ts +++ b/src/shared/utils/app/build-comments-tree.ts @@ -4,7 +4,7 @@ import { CommentNodeI } from "../../interfaces"; export default function buildCommentsTree( comments: CommentView[], - parentComment: boolean + parentComment: boolean, ): CommentNodeI[] { const map = new Map(); const depthOffset = !parentComment