fix(#2455): replace dot to comma for brazil payment

keep-around/48f3aed2600f08e35305e4d60d76bd245d3fcbd4
Andrei Dekterev 4 years ago
parent 83b38e606b
commit 48f3aed260
  1. 2
      src/features/Price/components/BrazilianPrice/index.tsx
  2. 1
      src/features/UserAccount/index.tsx

@ -38,7 +38,7 @@ export const BrazilianPrice = ({
} }
<PriceDetails> <PriceDetails>
<Currency>{currency}</Currency> <Currency>{currency}</Currency>
<PriceAmount>{amount.toFixed(2)}</PriceAmount> <PriceAmount>{amount.toFixed(2).replace('.', ',')}</PriceAmount>
{ {
perPeriod && ( perPeriod && (
<Period> <Period>

@ -51,7 +51,6 @@ const UserAccount = () => {
<T9n t='my_subscriptions' /> <T9n t='my_subscriptions' />
</StyledLink> </StyledLink>
<StyledLink <StyledLink
disabled={isProduction || client.userAccountLinksDisabled}
to={`${PAGES.useraccount}/payment-history`} to={`${PAGES.useraccount}/payment-history`}
> >
<T9n t='payment_history' /> <T9n t='payment_history' />

Loading…
Cancel
Save