Dispatch

{#if store.lastError} {/if} {#if store.activeChat.error} {/if} store.selectTab(id)} onClose={(id) => store.closeTab(id)} onNewDraft={() => store.newDraft()} />
{#if store.catalog.length > 0}

Surfaces

{#each store.catalog as entry (entry.id)} {/each}
{/if} {#if store.selectedSpec}
{/if}