Something went wrong. Try again.
Explore blocks, labels, lists, and posts on Bluesky. skytrace.aly.town
typescript react bluesky atproto
Something went wrong. Try again.
12345678import type { FeedItem } from '../../types'import { dedupeBy } from '../collections'import { newestFirst } from '../sorting'
export function mergeFeedItems(items: FeedItem[]): FeedItem[] { return newestFirst(dedupeBy(items, (item) => (item.kind === 'unavailable' ? item.id : item.uri)))}