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/components | |
parent | 7d72dfb1cb514a9ab8ee2874390c667d49a78e8b (diff) | |
download | voidsky-c6d30f671ae65b83e9b87557d88e8655f8d3e8ab.tar.zst |
Remove unnecessary Trans tags (#3888)
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/ProfileHoverCard/index.web.tsx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/components/ProfileHoverCard/index.web.tsx b/src/components/ProfileHoverCard/index.web.tsx index 274a4c96f..c6125e2e5 100644 --- a/src/components/ProfileHoverCard/index.web.tsx +++ b/src/components/ProfileHoverCard/index.web.tsx @@ -2,7 +2,7 @@ import React from 'react' import {View} from 'react-native' import {AppBskyActorDefs, moderateProfile, ModerationOpts} from '@atproto/api' import {flip, offset, shift, size, useFloating} from '@floating-ui/react-dom' -import {msg, plural, Trans} from '@lingui/macro' +import {msg, plural} from '@lingui/macro' import {useLingui} from '@lingui/react' import {makeProfileLink} from '#/lib/routes/links' @@ -444,12 +444,10 @@ function Inner({ label={`${followers} ${pluralizedFollowers}`} style={[t.atoms.text]} onPress={hide}> - <Trans> - <Text style={[a.text_md, a.font_bold]}>{followers} </Text> - <Text style={[t.atoms.text_contrast_medium]}> - {pluralizedFollowers} - </Text> - </Trans> + <Text style={[a.text_md, a.font_bold]}>{followers} </Text> + <Text style={[t.atoms.text_contrast_medium]}> + {pluralizedFollowers} + </Text> </InlineLinkText> <InlineLinkText to={makeProfileLink(profile, 'follows')} |