From 71793c087250c0fe6ac73ee8a68ab12d8fe149f9 Mon Sep 17 00:00:00 2001 From: Nada Date: Wed, 15 May 2024 09:02:14 +0400 Subject: [PATCH] fix: minor fixes --- src/components/Modals/ShareAdsModal/ShareAdsModal.tsx | 2 +- .../PaymentMethodFormAutocomplete.tsx | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/Modals/ShareAdsModal/ShareAdsModal.tsx b/src/components/Modals/ShareAdsModal/ShareAdsModal.tsx index 9e565a23..f619647b 100644 --- a/src/components/Modals/ShareAdsModal/ShareAdsModal.tsx +++ b/src/components/Modals/ShareAdsModal/ShareAdsModal.tsx @@ -42,7 +42,7 @@ const ShareAdsModal = ({ id, isModalOpen, onRequestClose }: TShareAdsModalProps) const secondCurrency = isBuyAd ? accountCurrency : localCurrency; const adRateType = rateType === RATE_TYPE.FLOAT ? '%' : ` ${localCurrency}`; const customMessage = localize( - "Hi! I'd like to exchange {{firstCurrency}} for {{secondCurrency}} at {{rateDisplay}}{{adRateType}} on Deriv P2P.\n\nIf you're interested, check out my ad 👉\n\n{{advertUrl}}nnThanks!", + "Hi! I'd like to exchange {{firstCurrency}} for {{secondCurrency}} at {{rateDisplay}}{{adRateType}} on Deriv P2P.\n\nIf you're interested, check out my ad 👉\n\n{{advertUrl}}\n\nThanks!", { adRateType, advertUrl, diff --git a/src/components/PaymentMethodForm/PaymentMethodFormAutocomplete/PaymentMethodFormAutocomplete.tsx b/src/components/PaymentMethodForm/PaymentMethodFormAutocomplete/PaymentMethodFormAutocomplete.tsx index 41846991..f2f10f7b 100644 --- a/src/components/PaymentMethodForm/PaymentMethodFormAutocomplete/PaymentMethodFormAutocomplete.tsx +++ b/src/components/PaymentMethodForm/PaymentMethodFormAutocomplete/PaymentMethodFormAutocomplete.tsx @@ -22,7 +22,6 @@ const PaymentMethodFormAutocomplete = ({ }: TPaymentMethodFormAutocompleteProps) => { const { localize } = useTranslations(); if (selectedPaymentMethod) { - // TODO: Remember to translate this return (
- +