From 4c24e60f74333c08910ef2a6ca4557454c66c76b Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 21 Jan 2026 19:16:31 +0000 Subject: [PATCH] Always render ListFooter, show CreateAnother only at end with items Remove null return - always render ListFooter for consistent padding. CreateAnother only shows when isMe, at end of list, and has items. --- src/components/StarterPack/ProfileStarterPacks.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/StarterPack/ProfileStarterPacks.tsx b/src/components/StarterPack/ProfileStarterPacks.tsx index 5fee8a745b..3e3b0f83bd 100644 --- a/src/components/StarterPack/ProfileStarterPacks.tsx +++ b/src/components/StarterPack/ProfileStarterPacks.tsx @@ -161,11 +161,8 @@ export function ProfileStarterPacks({ ) const renderFooter = useCallback(() => { - if (!data || items?.length === 0) { - return null - } // Show CreateAnother only at the end of the list on own profile - if (isMe && !hasNextPage && !isFetchingNextPage) { + if (isMe && !hasNextPage && !isFetchingNextPage && data && items?.length) { return } return (