diff --git a/index.html b/index.html index fb515ff..375ae37 100644 --- a/index.html +++ b/index.html @@ -147,7 +147,7 @@ function formatAmount(amount = 0, currency = 'inr') { if (!amount) return '0'; - return amount.toLocaleString(currency === 'inr' ? `en-IN` : 'en-US', { currency, maximumFractionDigits: 8 }) + return amount.toLocaleString(undefined, { currency, maximumFractionDigits: 8 }) } // fetch data and return json async function fetchJson(url, options = {}) { @@ -703,10 +703,6 @@ ${incAddress} -