{#if loading}
{:else if error}
{error}
{:else if items.length === 0}
Nothing here yet
Run a scan on this library to index the files on disk.
{:else}
{#each items as item (item.id)}
go({ name: 'reader', itemId: item.id, title: item.title })}>
(e.currentTarget as HTMLImageElement).remove()} />
{item.title.slice(0, 1).toUpperCase()}
{item.title}
{/each}
{/if}