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,