Show $0.00 instead of < $0.01 for zero balances
All checks were successful
check / check (push) Successful in 13s

This commit is contained in:
2026-02-25 18:30:19 +07:00
parent f2e22cadf2
commit f6a47a6cea

View File

@@ -138,6 +138,7 @@ async function refreshPrices() {
function formatUsd(amount) {
if (amount === null || amount === undefined || isNaN(amount)) return "";
if (amount === 0) return "$0.00";
if (amount < 0.01) return "< $0.01";
return (
"$" +