diff --git a/src/components/KnownFollowers.tsx b/src/components/KnownFollowers.tsx index ab86bfd50..77f370e71 100644 --- a/src/components/KnownFollowers.tsx +++ b/src/components/KnownFollowers.tsx @@ -247,7 +247,7 @@ function KnownFollowersInner({ }, ]} numberOfLines={2}> - {showExactText ? ( + {showExactText && serverCount > 2 ? ( textStyle: object[] }) { - if (slice.length >= 3) { - return ( - - Followed by{' '} - , - including{' '} - - {slice[0].profile.displayName} - - ,{' '} - - {slice[1].profile.displayName} - - , and{' '} - - {slice[2].profile.displayName} - - - ) - } - - if (slice.length === 2) { + if (slice.length >= 2) { return ( Followed by{' '} - , + ,{' '} including{' '} {slice[0].profile.displayName} @@ -384,7 +363,8 @@ function FollowedByExactText({ return ( Followed by{' '} - , including{' '} + ,{' '} + including{' '} {slice[0].profile.displayName} diff --git a/src/state/queries/known-followers.ts b/src/state/queries/known-followers.ts index 05bbd5e67..b1ae5f646 100644 --- a/src/state/queries/known-followers.ts +++ b/src/state/queries/known-followers.ts @@ -11,7 +11,7 @@ import { import {useAgent} from '#/state/session' -const PAGE_SIZE = 50 +const PAGE_SIZE = 100 type RQPageParam = string | undefined const RQKEY_ROOT = 'profile-known-followers'