From a82bbb6d25dcc55f32e8bc05f54e076593fb3ac7 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 21 Jan 2026 19:11:28 +0000 Subject: [PATCH] Show CreateAnother only at end of list on own profile CreateAnother replaces ListFooter only when: - Viewing own profile (isMe) - No more pages to load (!hasNextPage) - Not currently fetching (!isFetchingNextPage) Otherwise show ListFooter for pagination/loading state. --- .../StarterPack/ProfileStarterPacks.tsx | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/components/StarterPack/ProfileStarterPacks.tsx b/src/components/StarterPack/ProfileStarterPacks.tsx index d206e5bf5e..5fee8a745b 100644 --- a/src/components/StarterPack/ProfileStarterPacks.tsx +++ b/src/components/StarterPack/ProfileStarterPacks.tsx @@ -164,17 +164,18 @@ export function ProfileStarterPacks({ if (!data || items?.length === 0) { return null } + // Show CreateAnother only at the end of the list on own profile + if (isMe && !hasNextPage && !isFetchingNextPage) { + return + } return ( - <> - - {isMe && } - + ) }, [ data,