diff --git a/src/view/com/post-thread/PostThreadItem.tsx b/src/view/com/post-thread/PostThreadItem.tsx index f2b719a848f..a0d1476f1c1 100644 --- a/src/view/com/post-thread/PostThreadItem.tsx +++ b/src/view/com/post-thread/PostThreadItem.tsx @@ -12,7 +12,6 @@ import {msg, Plural, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' import {MAX_POST_LINES} from '#/lib/constants' -import {useOpenLink} from '#/lib/hooks/useOpenLink' import {usePalette} from '#/lib/hooks/usePalette' import {makeProfileLink} from '#/lib/routes/links' import {sanitizeDisplayName} from '#/lib/strings/display-names' @@ -733,13 +732,8 @@ function ExpandedPostDetails({ const t = useTheme() const pal = usePalette('default') const {_, i18n} = useLingui() - const openLink = useOpenLink() const isRootPost = !('reply' in post.record) - const onTranslatePress = React.useCallback(() => { - openLink(translatorUrl, true) - }, [openLink, translatorUrl]) - return ( @@ -757,10 +751,9 @@ function ExpandedPostDetails({ + style={[a.text_sm, pal.link]}> Translate