From 50769b0b6fce97124ce23610bc81f4befd5224cb Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 25 Jul 2024 18:11:31 -0500 Subject: [PATCH] Add label to profile card (#4843) --- src/components/FeedInterstitials.tsx | 12 +++++++++--- src/components/ProfileCard.tsx | 16 ++++++++++++---- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/src/components/FeedInterstitials.tsx b/src/components/FeedInterstitials.tsx index 53c1fac0..2e872414 100644 --- a/src/components/FeedInterstitials.tsx +++ b/src/components/FeedInterstitials.tsx @@ -190,7 +190,7 @@ export function SuggestedFollows() { {profiles.slice(0, maxLength).map(profile => ( { logEvent('feed:interstitial:profileCard:press', {}) }} @@ -266,7 +266,10 @@ export function SuggestedFollows() { a.pt_xs, a.gap_md, ]}> - + Browse more suggestions @@ -396,7 +399,10 @@ export function SuggestedFeeds() { a.pt_xs, a.gap_md, ]}> - + Browse more suggestions diff --git a/src/components/ProfileCard.tsx b/src/components/ProfileCard.tsx index 2d3b3240..a263d194 100644 --- a/src/components/ProfileCard.tsx +++ b/src/components/ProfileCard.tsx @@ -36,7 +36,7 @@ export function Default({ logContext?: 'ProfileCard' | 'StarterPackProfilesList' }) { return ( - + ) { +}: { + profile: AppBskyActorDefs.ProfileViewDetailed +} & Omit) { + const {_} = useLingui() return (