Display see more link for suggested users in profile header (#10134)

This commit is contained in:
DS Boyce
2026-03-31 14:54:51 -07:00
committed by GitHub
parent 498d321bb1
commit 2262040797
-4
View File
@@ -560,7 +560,6 @@ export function ProfileGrid({
<Text style={[a.text_sm, a.font_semi_bold, t.atoms.text]}> <Text style={[a.text_sm, a.font_semi_bold, t.atoms.text]}>
<Trans>Suggested for you</Trans> <Trans>Suggested for you</Trans>
</Text> </Text>
{!isProfileHeaderContext && (
<Button <Button
label={l`See more suggested profiles`} label={l`See more suggested profiles`}
onPress={() => { onPress={() => {
@@ -585,7 +584,6 @@ export function ProfileGrid({
</Text> </Text>
)} )}
</Button> </Button>
)}
</View> </View>
<FollowDialogWithoutGuide control={followDialogControl} /> <FollowDialogWithoutGuide control={followDialogControl} />
<LayoutAnimationConfig skipExiting skipEntering> <LayoutAnimationConfig skipExiting skipEntering>
@@ -605,7 +603,6 @@ export function ProfileGrid({
decelerationRate="fast"> decelerationRate="fast">
{content} {content}
{!isProfileHeaderContext && (
<SeeMoreSuggestedProfilesCard <SeeMoreSuggestedProfilesCard
onPress={() => { onPress={() => {
followDialogControl.open() followDialogControl.open()
@@ -614,7 +611,6 @@ export function ProfileGrid({
}) })
}} }}
/> />
)}
</ScrollView> </ScrollView>
</BlockDrawerGesture> </BlockDrawerGesture>
)} )}