{#each state.panels as panel, idx (panel.id)}
{#if idx > 0} {/if}
{#if panel.kind !== null}
{@render content(panel.kind)}
{/if}
{/each}