From e3aa17acdd59cdcbcafb38ac8525844ab3e373bb Mon Sep 17 00:00:00 2001 From: siddharthd Date: Sun, 8 Mar 2026 21:06:14 +1100 Subject: [PATCH] fix(analytics): cast tx.amount to Number before formatting (PG returns string) --- src/app/budget/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/budget/page.tsx b/src/app/budget/page.tsx index 699d70d..6a7932c 100644 --- a/src/app/budget/page.tsx +++ b/src/app/budget/page.tsx @@ -197,7 +197,7 @@ function CategoryPanel({ {tx.effective_merchant || tx.description} - {fmtExact(tx.amount)} + {fmtExact(Number(tx.amount))}