fix(analytics): cast tx.amount to Number before formatting (PG returns string)

This commit is contained in:
2026-03-08 21:06:14 +11:00
parent 1eff0f9337
commit e3aa17acdd
+1 -1
View File
@@ -197,7 +197,7 @@ function CategoryPanel({
{tx.effective_merchant || tx.description} {tx.effective_merchant || tx.description}
</td> </td>
<td className="px-2 py-1.5 text-right tabular-nums text-zinc-300"> <td className="px-2 py-1.5 text-right tabular-nums text-zinc-300">
{fmtExact(tx.amount)} {fmtExact(Number(tx.amount))}
</td> </td>
<td className="px-4 py-1.5 text-right"> <td className="px-4 py-1.5 text-right">
<select <select