fix(analytics): cast tx.amount to Number before formatting (PG returns string)
This commit is contained in:
@@ -197,7 +197,7 @@ function CategoryPanel({
|
||||
{tx.effective_merchant || tx.description}
|
||||
</td>
|
||||
<td className="px-2 py-1.5 text-right tabular-nums text-zinc-300">
|
||||
{fmtExact(tx.amount)}
|
||||
{fmtExact(Number(tx.amount))}
|
||||
</td>
|
||||
<td className="px-4 py-1.5 text-right">
|
||||
<select
|
||||
|
||||
Reference in New Issue
Block a user