migrate: use svelte 5 event system

This commit is contained in:
James Xylight committed 2025-02-03 19:57:00 -08:00
1 parent dd9abe5345
commit 9025f5db18
18 files changed
+70 -60

No files matched your search

@@ -27,7 +27,6 @@ export function buildCommentsTree(
baseDepth: number = 0,
filter: (c: CommentView) => boolean = (c) => true,
): CommentNodeI[] {
const start = performance.now()
const map = new Map<number, CommentNodeI>()
let min_depth = Number.MAX_VALUE
@@ -69,7 +68,6 @@ export function buildCommentsTree(
}
}
console.log(`Built tree in ${performance.now() - start}ms`)
return tree
}