fix: comment expansions
This commit is contained in:
1 parent
57d4874990
commit
8c6ff77fac
3 files changed
+21
-9
No files matched your search
@@ -44,7 +44,10 @@
|
||||
let comments = $state(passedComments)
|
||||
|
||||
let commenting = $state(false)
|
||||
let tree = $derived(buildCommentsTree(comments.comments))
|
||||
let tree = $state(buildCommentsTree(comments.comments))
|
||||
$effect(() => {
|
||||
tree = buildCommentsTree(comments.comments)
|
||||
})
|
||||
</script>
|
||||
|
||||
{#if $profile?.jwt}
|
||||
|
||||
Reference in new issue
Block a user