From 2d130a05a218ea539f9ddfa5a35720d0f4a1d39f Mon Sep 17 00:00:00 2001 From: Hailey Date: Wed, 12 Jun 2024 00:17:04 -0700 Subject: [PATCH] better cta --- .../StarterPack/ProfileStarterPacks.tsx | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/components/StarterPack/ProfileStarterPacks.tsx b/src/components/StarterPack/ProfileStarterPacks.tsx index 983fbdfbf5..531dc98477 100644 --- a/src/components/StarterPack/ProfileStarterPacks.tsx +++ b/src/components/StarterPack/ProfileStarterPacks.tsx @@ -116,15 +116,16 @@ export const ProfileStarterPacks = React.forwardRef< data={items} renderItem={renderItem} keyExtractor={keyExtractor} + scrollEnabled={items?.length !== 0} refreshing={isPTRing} - onRefresh={onRefresh} headerOffset={headerOffset} contentContainerStyle={isNative && {paddingBottom: headerOffset + 100}} indicatorStyle={t.name === 'light' ? 'black' : 'white'} removeClippedSubviews={true} desktopFixedHeight onEndReached={onEndReached} - ListEmptyComponent={} + onRefresh={onRefresh} + ListEmptyComponent={EmptyComponent} /> ) @@ -142,7 +143,14 @@ function EmptyComponent() { return ( + style={[ + a.px_md, + a.py_xl, + a.justify_between, + a.gap_lg, + a.shadow_lg, + {marginTop: 2}, + ]}> You have not created a starter pack yet! - + Starter packs let you easily share your favorite feeds and people with your friends.