diff options
Diffstat (limited to 'src/view/com/profile/ProfileCard.tsx')
-rw-r--r-- | src/view/com/profile/ProfileCard.tsx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/view/com/profile/ProfileCard.tsx b/src/view/com/profile/ProfileCard.tsx index eab8611dd..f710d7b4e 100644 --- a/src/view/com/profile/ProfileCard.tsx +++ b/src/view/com/profile/ProfileCard.tsx @@ -184,6 +184,7 @@ export function ProfileCardWithFollowBtn({ noBg, noBorder, onPress, + onFollow, logContext = 'ProfileCard', showKnownFollowers, }: { @@ -191,6 +192,7 @@ export function ProfileCardWithFollowBtn({ noBg?: boolean noBorder?: boolean onPress?: () => void + onFollow?: () => void logContext?: 'ProfileCard' | 'StarterPackProfilesList' showKnownFollowers?: boolean }) { @@ -206,7 +208,11 @@ export function ProfileCardWithFollowBtn({ isMe ? undefined : profileShadow => ( - <FollowButton profile={profileShadow} logContext={logContext} /> + <FollowButton + profile={profileShadow} + logContext={logContext} + onFollow={onFollow} + /> ) } onPress={onPress} |