Photos
{#if photos.length === 0}
fileInput.click()} disabled={uploading}>
{uploading ? 'Uploading…' : 'Click to add photos'}
{:else}
{#each photos as src, i (src + i)}
remove(i)} aria-label="Remove photo">
{/each}
fileInput.click()} disabled={uploading}>
{/if} {#if uploadError}
{uploadError}
{/if}