diff options
author | Minseo Lee <itoupluk427@gmail.com> | 2024-05-08 04:06:39 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-07 20:06:39 +0100 |
commit | c6d30f671ae65b83e9b87557d88e8655f8d3e8ab (patch) | |
tree | 5ea01a48ad7b188b51145dc9f29114b23c80beef /src/screens/Profile/Header/Metrics.tsx | |
parent | 7d72dfb1cb514a9ab8ee2874390c667d49a78e8b (diff) | |
download | voidsky-c6d30f671ae65b83e9b87557d88e8655f8d3e8ab.tar.zst |
Remove unnecessary Trans tags (#3888)
Diffstat (limited to 'src/screens/Profile/Header/Metrics.tsx')
-rw-r--r-- | src/screens/Profile/Header/Metrics.tsx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/screens/Profile/Header/Metrics.tsx b/src/screens/Profile/Header/Metrics.tsx index 864729684..e3537f44b 100644 --- a/src/screens/Profile/Header/Metrics.tsx +++ b/src/screens/Profile/Header/Metrics.tsx @@ -1,7 +1,7 @@ import React from 'react' import {View} from 'react-native' import {AppBskyActorDefs} from '@atproto/api' -import {msg, plural, Trans} from '@lingui/macro' +import {msg, plural} from '@lingui/macro' import {useLingui} from '@lingui/react' import {Shadow} from '#/state/cache/types' @@ -38,12 +38,10 @@ export function ProfileHeaderMetrics({ style={[a.flex_row, t.atoms.text]} to={makeProfileLink(profile, 'followers')} label={`${followers} ${pluralizedFollowers}`}> - <Trans> - <Text style={[a.font_bold, a.text_md]}>{followers} </Text> - <Text style={[t.atoms.text_contrast_medium, a.text_md]}> - {pluralizedFollowers} - </Text> - </Trans> + <Text style={[a.font_bold, a.text_md]}>{followers} </Text> + <Text style={[t.atoms.text_contrast_medium, a.text_md]}> + {pluralizedFollowers} + </Text> </InlineLinkText> <InlineLinkText testID="profileHeaderFollowsButton" |