{#if posts?.length == 0}
    {:else}
    {#each items as row, index (posts[row.index]?.post.id)} {#if posts[row.index]} {@const post = posts?.[row.index]}
  • { posts = posts.toSpliced(row.index, 1) }} >
  • {/if} {/each}
    {/if} {#if settings.infiniteScroll && browser} {#if error}
    {error}
    {:else if hasMore}
    {:else}
    {$t('routes.frontpage.endFeed', { // @ts-ignore community_name: feedData.community_name ?? 'undefined', })} {#snippet action()} {/snippet}
    {/if} {/if} {@render children?.()}