Update index.html

This commit is contained in:
tripathyr 2025-08-23 13:17:33 +05:30 committed by GitHub
parent dd646da9f2
commit 6f130342a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3871,9 +3871,9 @@ async function refreshBalance(button) {
const ethOut = getRef('eth_balance');
const usdcOut = getRef('usdc_erc20_balance');
const usdtOut = getRef('usdt_erc20_balance');
if (ethOut) ethOut.textContent = '';
if (usdcOut) usdcOut.textContent = '';
if (usdtOut) usdtOut.textContent = '';
if (ethOut) ethOut.textContent = '0';
if (usdcOut) usdcOut.textContent = '0';
if (usdtOut) usdtOut.textContent = '0';
const ethAddr = await getUserEthAddress();
if (ethAddr && window.ethOperator) {