grain.social is a photo sharing platform built on atproto. grain.social
atproto photography appview
57
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: avoid duplicate each key in GalleryGrid by suffixing index

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+1 -1
+1 -1
app/lib/components/organisms/GalleryGrid.svelte
··· 43 43 <div class="empty-state">{emptyText}</div> 44 44 {:else} 45 45 <div class="grid"> 46 - {#each items as gallery (gallery.uri)} 46 + {#each items as gallery, i (`${gallery.uri}:${i}`)} 47 47 {@const lr = resolveLabels(gallery.labels, labelDefs.data ?? [])} 48 48 <a class="cell" href="/profile/{gallery.creator?.did}/gallery/{rkey(gallery.uri)}"> 49 49 {#if lr.action === 'warn-media' || lr.action === 'warn-content' || lr.action === 'hide'}