fix: comment expansions
This commit is contained in:
1 parent
57d4874990
commit
8c6ff77fac
3 files changed
+21
-9
No files matched your search
@@ -71,7 +71,13 @@
|
||||
data-index={row.index}
|
||||
class="-mx-4 sm:-mx-6 px-4 sm:px-6"
|
||||
>
|
||||
<Comments isParent={true} nodes={[nodes[row.index]]} {post} />
|
||||
<Comments
|
||||
isParent={true}
|
||||
bind:nodes={
|
||||
() => [nodes[row.index]], (v) => (nodes[row.index] = v[0])
|
||||
}
|
||||
{post}
|
||||
/>
|
||||
</div>
|
||||
{/each}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user