diff --git a/panel/src/pages/Transactions.tsx b/panel/src/pages/Transactions.tsx index 0e3172f..f7c0d48 100644 --- a/panel/src/pages/Transactions.tsx +++ b/panel/src/pages/Transactions.tsx @@ -63,7 +63,8 @@ const PAGE_SIZES = [25, 50, 100]; function formatAmount(amount: string): string { const n = BigInt(amount); - return n.toLocaleString(); + const abs = n < 0n ? -n : n; + return abs.toLocaleString(); } function formatDate(iso: string): string {