your personal website on atproto - mirror blento.app
25
fork

Configure Feed

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

fix crashes with duplicate each keys

Florian 2e701d83 9a6738ce

+2 -2
+1 -1
src/lib/cards/social/BlueskyFeedCard/BlueskyFeedCard.svelte
··· 76 76 <div class="flex h-full flex-col overflow-x-hidden overflow-y-auto p-3" onscroll={handleScroll}> 77 77 {#if feed && feed.length > 0} 78 78 <div class={[item.cardData.label ? 'pt-8' : '']}> 79 - {#each feed as feedItem, i (feedItem.post?.uri ?? i)} 79 + {#each feed as feedItem, i (`${feedItem.post?.uri ?? 'post'}-${i}`)} 80 80 <BlueskyPost showAvatar compact feedViewPost={feedItem.post} /> 81 81 {#if i < feed.length - 1} 82 82 <div
+1 -1
src/lib/cards/social/UpcomingRsvpsCard/UpcomingRsvpsCard.svelte
··· 83 83 <div class="flex-1 overflow-y-auto"> 84 84 {#if rsvps.length > 0} 85 85 <div class="flex flex-col gap-2"> 86 - {#each rsvps as rsvp (rsvp.eventUri)} 86 + {#each rsvps as rsvp, i (`${rsvp.eventUri}-${i}`)} 87 87 <a 88 88 href="https://blento.app/{rsvp.hostDid}/events/{rsvp.rkey}" 89 89 target="_blank"