From 6f41baa0afb046af965aab26fb5e5a6deb15306f Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 21 Jan 2026 19:09:16 +0000 Subject: [PATCH] Only render footer at end of list with items Restore the check for data and items - footer should only render when there are starter packs in the list. --- src/components/StarterPack/ProfileStarterPacks.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/StarterPack/ProfileStarterPacks.tsx b/src/components/StarterPack/ProfileStarterPacks.tsx index 6f2ea758d0..147cab5416 100644 --- a/src/components/StarterPack/ProfileStarterPacks.tsx +++ b/src/components/StarterPack/ProfileStarterPacks.tsx @@ -161,6 +161,9 @@ export function ProfileStarterPacks({ ) const renderFooter = useCallback(() => { + if (!data || items?.length === 0) { + return null + } if (isMe) { return } @@ -174,6 +177,8 @@ export function ProfileStarterPacks({ /> ) }, [ + data, + items?.length, isMe, bottomBarOffset, isFetchingNextPage,