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 favs loading for unauth users

+1 -3
+1 -3
main.tsx
··· 157 157 const handle = params.handle; 158 158 const rkey = params.rkey; 159 159 const gallery = getGallery(handle, rkey, ctx); 160 - if (did && gallery) { 161 - favs = getGalleryFavs(gallery.uri, ctx); 162 - } 163 160 if (!gallery) return ctx.next(); 161 + favs = getGalleryFavs(gallery.uri, ctx); 164 162 ctx.state.meta = [ 165 163 ...getPageMeta(galleryLink(handle, rkey)), 166 164 ...getGalleryMeta(gallery),