Update currency.js

This commit is contained in:
Marcos Rodriguez Vélez 2021-10-13 14:02:11 -04:00
parent 04b3d5a4ca
commit 09d227dbfb
No known key found for this signature in database
GPG key ID: 0D64671698D11C5C

View file

@ -47,8 +47,6 @@ const Currency = () => {
const formatter = new Intl.NumberFormat(preferredCurrency.locale, { const formatter = new Intl.NumberFormat(preferredCurrency.locale, {
style: 'currency', style: 'currency',
currency: preferredCurrency.endPointKey, currency: preferredCurrency.endPointKey,
minimumFractionDigits: 2,
maximumFractionDigits: 8,
}); });
setCurrencyRate({ setCurrencyRate({
LastUpdated: currencyInformation[currency.LAST_UPDATED], LastUpdated: currencyInformation[currency.LAST_UPDATED],