rm non-functional link from card

This commit is contained in:
Samuel Newman
2025-08-21 16:07:00 +03:00
parent 66c64dbbb5
commit ca4e469a61
@@ -29,7 +29,6 @@ import {ChevronRight_Stroke2_Corner0_Rounded as ChevronRightIcon} from '#/compon
import {Loader} from '#/components/Loader' import {Loader} from '#/components/Loader'
import * as ProfileCard from '#/components/ProfileCard' import * as ProfileCard from '#/components/ProfileCard'
import {boostInterests} from '#/components/ProgressGuide/FollowDialog' import {boostInterests} from '#/components/ProgressGuide/FollowDialog'
import {SubtleHover} from '#/components/SubtleHover'
import * as toast from '#/components/Toast' import * as toast from '#/components/Toast'
import {Text} from '#/components/Typography' import {Text} from '#/components/Typography'
import type * as bsky from '#/types/bsky' import type * as bsky from '#/types/bsky'
@@ -278,22 +277,6 @@ function SuggestedProfileCard({
}) { }) {
const t = useTheme() const t = useTheme()
return ( return (
<ProfileCard.Link
profile={profile}
onPress={() => {
logger.metric(
'suggestedUser:press',
{
logContext: 'Onboarding',
recId: undefined,
position,
},
{statsig: true},
)
}}>
{s => (
<>
<SubtleHover hover={s.hovered || s.pressed} />
<View <View
style={[ style={[
a.flex_1, a.flex_1,
@@ -308,6 +291,7 @@ function SuggestedProfileCard({
<ProfileCard.Avatar <ProfileCard.Avatar
profile={profile} profile={profile}
moderationOpts={moderationOpts} moderationOpts={moderationOpts}
disabledPreview
/> />
<ProfileCard.NameAndHandle <ProfileCard.NameAndHandle
profile={profile} profile={profile}
@@ -335,8 +319,5 @@ function SuggestedProfileCard({
<ProfileCard.Description profile={profile} numberOfLines={3} /> <ProfileCard.Description profile={profile} numberOfLines={3} />
</ProfileCard.Outer> </ProfileCard.Outer>
</View> </View>
</>
)}
</ProfileCard.Link>
) )
} }