Always render footer component

Remove the early return for empty data - always render either
CreateAnother (for own profile) or ListFooter (for other profiles).
This commit is contained in:
Claude
2026-01-21 19:08:28 +00:00
committed by Samuel Newman
parent 82f304eb4a
commit 27c0cdae5c
@@ -161,9 +161,6 @@ export function ProfileStarterPacks({
)
const renderFooter = useCallback(() => {
if (!data || items?.length === 0) {
return null
}
if (isMe) {
return <CreateAnother style={{paddingBottom: bottomBarOffset}} />
}
@@ -177,8 +174,6 @@ export function ProfileStarterPacks({
/>
)
}, [
data,
items?.length,
isMe,
bottomBarOffset,
isFetchingNextPage,