diff --git a/src/components/templates/BottomSheetSharePortfolio/index.tsx b/src/components/templates/BottomSheetSharePortfolio/index.tsx index 7b476a56d..8d6da69c3 100644 --- a/src/components/templates/BottomSheetSharePortfolio/index.tsx +++ b/src/components/templates/BottomSheetSharePortfolio/index.tsx @@ -15,6 +15,7 @@ import { scale, verticalScale } from '@utils/scaling'; import { ShareUtils } from '@utils/share'; import { Social } from '@appTypes/Sharing'; import { styles } from './styles'; +import { useTranslation } from 'react-i18next'; interface SharePortfolioProps extends PortfolioPerformanceProps { ref: RefObject; @@ -26,6 +27,7 @@ export const SharePortfolio = forwardRef( const { bottomSheetTitle, ...portfolioBalanceProps } = props; const localRef: ForwardedRef = useForwardedRef(ref); const shareRef = useRef(null); + const { t } = useTranslation(); const onSharePress = async (type?: Social) => { const captureOptions: CaptureOptions = { @@ -103,7 +105,7 @@ export const SharePortfolio = forwardRef( - Messages + {t('common.messages')}