Skip to content

Commit

Permalink
fix: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nada-deriv committed May 15, 2024
1 parent f847c31 commit 71793c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/Modals/ShareAdsModal/ShareAdsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const PaymentMethodFormAutocomplete = ({
}: TPaymentMethodFormAutocompleteProps) => {
const { localize } = useTranslations();
if (selectedPaymentMethod) {
// TODO: Remember to translate this
return (
<Input
defaultValue={selectedPaymentMethod?.display_name}
Expand Down Expand Up @@ -76,10 +75,7 @@ const PaymentMethodFormAutocomplete = ({
/>
<div className='mt-[0.2rem] ml-[1.6rem]'>
<Text color='less-prominent' size='xs'>
<Localize
i18n_default_text='
Don’t see your payment method?'
/>
<Localize i18n_default_text='Don’t see your payment method?' />
</Text>
<Button
className='payment-method-form__button'
Expand Down

0 comments on commit 71793c0

Please sign in to comment.