{#if posts?.length == 0}
    {:else}
    {#each items as row, index (row.index)}
  • { posts = posts.toSpliced(row.index, 1) }} >
  • {/each}
    {/if}