From ba7a06904a982976bb2519ca0e51edbabf5d0d80 Mon Sep 17 00:00:00 2001 From: Dylan Audius Date: Fri, 15 May 2026 13:56:35 -0700 Subject: [PATCH] fix(mobile): contest followers screen blank when limit exceeds 100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The mobile ContestFollowersScreen requested `limit: 200` for the follower list, while the equivalent web modal (`ContestFollowersModal`) uses `limit: 100`. Requesting above that ceiling comes back empty, so the UserList rendered no rows — only the "FOLLOWERS" header. Match the web caller (`limit: 100`) so the screen actually populates when the user taps the followers card. Updates the surrounding comment to record the constraint so future readers do not raise it back. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../screens/contest-screen/ContestFollowersScreen.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/mobile/src/screens/contest-screen/ContestFollowersScreen.tsx b/packages/mobile/src/screens/contest-screen/ContestFollowersScreen.tsx index 0ad4f390030..ede3100c46c 100644 --- a/packages/mobile/src/screens/contest-screen/ContestFollowersScreen.tsx +++ b/packages/mobile/src/screens/contest-screen/ContestFollowersScreen.tsx @@ -18,15 +18,17 @@ const messages = { * We reuse the shared `UserList` + `UserListScreen` scaffolding that * powers Followers/Following/Mutuals, wired up to `useEventFollowers` * instead of the per-user follow hooks. The event-followers hook - * isn't paginated today, so we request a healthy upper bound (200) - * and render what comes back — pagination can be wired in later - * without touching this screen if the hook grows it. + * isn't paginated today, so we request the same upper bound the web + * modal uses (100) — values above that come back empty from the + * indexer's response, which is what was producing a blank list. + * Pagination can be wired in later without touching this screen if + * the hook grows it. */ export const ContestFollowersScreen = () => { const { params } = useRoute<'ContestFollowers'>() const { eventId } = params - const { userIds, isPending } = useEventFollowers({ eventId, limit: 200 }) + const { userIds, isPending } = useEventFollowers({ eventId, limit: 100 }) return (