diff --git a/src/view/com/auth/onboarding/RecommendedFollows.tsx b/src/view/com/auth/onboarding/RecommendedFollows.tsx index 3b46516c9f..9f195a3666 100644 --- a/src/view/com/auth/onboarding/RecommendedFollows.tsx +++ b/src/view/com/auth/onboarding/RecommendedFollows.tsx @@ -92,13 +92,7 @@ export const RecommendedFollows = observer(function RecommendedFollowsImpl({ if (!suggestedFollows) return [] const additional = Object.entries(additionalSuggestions) - const items = [] - - for (const page of suggestedFollows.pages) { - for (const actor of page.actors) { - items.push(actor) - } - } + const items = suggestedFollows.pages.flatMap(page => page.actors) outer: while (additional.length) { const additionalAccount = additional.shift()