diff --git a/src/components/BotBadge.tsx b/src/components/BotBadge.tsx index da72597351..83da49bc4e 100644 --- a/src/components/BotBadge.tsx +++ b/src/components/BotBadge.tsx @@ -1,7 +1,6 @@ import {View} from 'react-native' import {type ComAtprotoLabelDefs} from '@atproto/api' -import {msg} from '@lingui/core/macro' -import {useLingui} from '@lingui/react' +import {useLingui} from '@lingui/react/macro' import {atoms as a, useTheme} from '#/alf' import {BotAccountAlert} from '#/components/BotAccountAlert' @@ -51,7 +50,7 @@ export function BotBadgeButton({ }) { const t = useTheme() const ax = useAnalytics() - const {_} = useLingui() + const {t: l} = useLingui() const control = useDialogControl() if (!isBotAccount(profile)) { @@ -61,7 +60,7 @@ export function BotBadgeButton({ return ( <>