refactor(ui): replace ProfileCard.Header with custom View

This commit is contained in:
Caidan Williams
2025-07-24 18:40:54 -07:00
committed by Austin McKinley
parent c758bfc568
commit 40a560509b
+2 -2
View File
@@ -288,7 +288,7 @@ export function ProfileGrid({
{width: 165}, {width: 165},
]}> ]}>
<ProfileCard.Outer> <ProfileCard.Outer>
<ProfileCard.Header> <View style={[a.flex_col, a.align_center, a.gap_sm, a.pb_sm]}>
<ProfileCard.Avatar <ProfileCard.Avatar
profile={profile} profile={profile}
moderationOpts={moderationOpts} moderationOpts={moderationOpts}
@@ -315,8 +315,8 @@ export function ProfileGrid({
}) })
}} }}
/> />
</ProfileCard.Header>
<ProfileCard.Description profile={profile} numberOfLines={2} /> <ProfileCard.Description profile={profile} numberOfLines={2} />
</View>
</ProfileCard.Outer> </ProfileCard.Outer>
</CardOuter> </CardOuter>
)} )}