Fix count

This commit is contained in:
Eric Bailey
2024-06-12 16:36:04 -05:00
parent fa8f0d8da6
commit c29d1c13c5
+1 -1
View File
@@ -82,7 +82,6 @@ function KnownFollowersInner({
t.atoms.text_contrast_medium,
]
const count = cachedKnownFollowers.count
const slice = cachedKnownFollowers.followers.slice(0, 3).map(f => {
const moderation = moderateProfile(f, moderationOpts)
return {
@@ -96,6 +95,7 @@ function KnownFollowersInner({
moderation,
}
})
const count = cachedKnownFollowers.count - Math.min(slice.length, 2)
return (
<Link