]> Untitled Git - lemmy-ui.git/blobdiff - src/shared/utils/app/build-comments-tree.ts
Upgrading deps, running prettier. (#1987)
[lemmy-ui.git] / src / shared / utils / app / build-comments-tree.ts
index 8857fa42e3733b4399a7948dc22fcc4236e4c42b..2b47e393da38e5121cb26edb39a642cbb260368d 100644 (file)
@@ -4,7 +4,7 @@ import { CommentNodeI } from "../../interfaces";
 
 export default function buildCommentsTree(
   comments: CommentView[],
-  parentComment: boolean
+  parentComment: boolean,
 ): CommentNodeI[] {
   const map = new Map<number, CommentNodeI>();
   const depthOffset = !parentComment