diff --git a/index.html b/index.html index cca2531..47afcec 100644 --- a/index.html +++ b/index.html @@ -1914,7 +1914,7 @@ for (const token in floAddressBalances) { ownedTokens.push(html`
  • - ${token}: ${parseFloat(floAddressBalances[token].balance.toFixed(8))} + ${token}: ${parseFloat((floAddressBalances[token].balance || 0).toFixed(8))}
  • `) } @@ -2285,8 +2285,8 @@ for (const token in floAddressBalances) { ownedTokens.push(html` `) } @@ -2452,6 +2452,7 @@ floWebWallet.getBalance(floID), fetchJSON(`https://ranchimallflo.duckdns.org/api/v1.0/getFloAddressBalance?floAddress=${floID}`) ]).then(([retrievedBal, { floAddressBalances }]) => { + console.log(floAddressBalances) renderElem(getRef('balance_wrapper'), html`

    Balance

    @@ -2461,7 +2462,7 @@ ${floAddressBalances ? Object.keys(floAddressBalances).map(token => html`
    ${token}: - ${parseFloat(floAddressBalances[token].balance.toFixed(8))} + ${parseFloat((floAddressBalances[token].balance || 0).toFixed(8))}
    `) : ''} `)