Skip to content

Commit

Permalink
remove console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Kim Neunert committed Jun 14, 2024
1 parent 7b5b87d commit 71e9d6a
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@
return;
});
let result = await response.json();
console.log(result);
if (result.error) {
showError(result.error);
return;
Expand All @@ -182,14 +181,11 @@
return;
}
let totalSupply = result.total_amount;
console.log(typeof totalSupply);
console.log(typeof totalUserBalance);
let userBalanceFromTotal = (
(totalUserBalance / totalSupply) *
100
).toFixed(1);
console.log(userBalanceFromTotal);
document.getElementById("total_supply").innerHTML = `
{{ _("Total supply: ") }} ${result.total_amount} BTC<br>
{{ _("Your wallets hold: ") }} ${totalUserBalance} BTC<br>
Expand Down

0 comments on commit 71e9d6a

Please sign in to comment.