{#each nodes as node, index (node.comment_view.comment.id)} 0 || node.comment_view.counts.child_count > 0) && 'border-l', 'ml-2.5 pl-3 sm:pl-4 lg:pl-5', node.depth % 2 == 0 ? 'border-slate-200 dark:border-zinc-800' : 'border-slate-300/80 dark:border-zinc-700', ]} bind:open={nodes[index].expanded} > {#if node.children?.length > 0} {/if} {#if node.comment_view.counts.child_count > 0 && node.children.length == 0} {/if} {/each}