diff options
author | Eric Bailey <git@esb.lol> | 2024-07-25 18:11:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-25 18:11:31 -0500 |
commit | 50769b0b6fce97124ce23610bc81f4befd5224cb (patch) | |
tree | 25c01c962ed825f76bf232e7bc28f20010565868 /src/components/FeedInterstitials.tsx | |
parent | 043e5cea641a4fd40a27ea8d069c6400cdf5d8d9 (diff) | |
download | voidsky-50769b0b6fce97124ce23610bc81f4befd5224cb.tar.zst |
Add label to profile card (#4843)
Diffstat (limited to 'src/components/FeedInterstitials.tsx')
-rw-r--r-- | src/components/FeedInterstitials.tsx | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/components/FeedInterstitials.tsx b/src/components/FeedInterstitials.tsx index 53c1fac0b..2e8724143 100644 --- a/src/components/FeedInterstitials.tsx +++ b/src/components/FeedInterstitials.tsx @@ -190,7 +190,7 @@ export function SuggestedFollows() { {profiles.slice(0, maxLength).map(profile => ( <ProfileCard.Link key={profile.did} - did={profile.handle} + profile={profile} onPress={() => { logEvent('feed:interstitial:profileCard:press', {}) }} @@ -266,7 +266,10 @@ export function SuggestedFollows() { a.pt_xs, a.gap_md, ]}> - <InlineLinkText to="/search" style={[t.atoms.text_contrast_medium]}> + <InlineLinkText + label={_(msg`Browse more suggestions`)} + to="/search" + style={[t.atoms.text_contrast_medium]}> <Trans>Browse more suggestions</Trans> </InlineLinkText> <Arrow size="sm" fill={t.atoms.text_contrast_medium.color} /> @@ -396,7 +399,10 @@ export function SuggestedFeeds() { a.pt_xs, a.gap_md, ]}> - <InlineLinkText to="/search" style={[t.atoms.text_contrast_medium]}> + <InlineLinkText + label={_(msg`Browse more suggestions`)} + to="/search" + style={[t.atoms.text_contrast_medium]}> <Trans>Browse more suggestions</Trans> </InlineLinkText> <Arrow size="sm" fill={t.atoms.text_contrast_medium.color} /> |