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}
|
{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
|
||||||
|
|||||||
Reference in New Issue
Block a user