From 12b34bb0c5ed27ab4ea6c522d35df92c6b8916c9 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Tue, 3 Mar 2026 16:15:52 +0200 Subject: [PATCH] fix lingui change --- src/components/Post/Translated/index.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/Post/Translated/index.tsx b/src/components/Post/Translated/index.tsx index 53fff5fac5..c412648dbe 100644 --- a/src/components/Post/Translated/index.tsx +++ b/src/components/Post/Translated/index.tsx @@ -1,6 +1,5 @@ import {useMemo} from 'react' import {Platform, View} from 'react-native' -import {msg} from '@lingui/core/macro' import {Trans, useLingui} from '@lingui/react/macro' import {HITSLOP_30} from '#/lib/constants' @@ -125,7 +124,7 @@ function TranslationLanguageSelect({ sourceLanguage: string }) { const ax = useAnalytics() - const {_} = useLingui() + const {t: l} = useLingui() const langPrefs = useLanguagePrefs() const {translate} = useTranslateOnDevice() @@ -163,7 +162,7 @@ function TranslationLanguageSelect({ - + {({props}) => { return ( @@ -173,7 +172,7 @@ function TranslationLanguageSelect({ }} (