fix(app): timeline jank

This commit is contained in:
Adam
2026-03-02 18:23:59 -06:00
parent 18850c4f91
commit 5e8742f431
4 changed files with 114 additions and 69 deletions

View File

@@ -689,7 +689,9 @@ export function MessageTimeline(props: {
if (!item || active()) return false
return messageID > item.id
})
const comments = createMemo(() => messageComments(sync.data.part[messageID] ?? []))
const comments = createMemo(() => messageComments(sync.data.part[messageID] ?? []), [], {
equals: (a, b) => JSON.stringify(a) === JSON.stringify(b),
})
const commentCount = createMemo(() => comments().length)
return (
<div