atmosphere explorer pds.ls
tool typescript atproto
434
fork

Configure Feed

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

remove repo count in backlinks directory

Juliet 367efcf2 c5b6fdef

+1 -4
+1 -4
src/components/backlinks.tsx
··· 24 24 collection: string; 25 25 entries: BacklinkEntry[]; 26 26 totalRecords: number; 27 - totalDids: number; 28 27 }; 29 28 30 29 const flattenLinks = (links: Record<string, any>): BacklinkEntry[] => { ··· 58 57 collection, 59 58 entries, 60 59 totalRecords: entries.reduce((sum, e) => sum + e.counts.records, 0), 61 - totalDids: entries.reduce((sum, e) => sum + e.counts.distinct_dids, 0), 62 60 })); 63 61 }; 64 62 ··· 156 154 </div> 157 155 <div class="flex shrink-0 items-center gap-2 text-neutral-600 dark:text-neutral-400"> 158 156 <span class="text-xs"> 159 - {group.totalRecords} from {group.totalDids} repo 160 - {group.totalDids > 1 ? "s" : ""} 157 + {group.totalRecords} record{group.totalRecords !== 1 ? "s" : ""} 161 158 </span> 162 159 <span class="iconify lucide--chevron-right" /> 163 160 </div>