From 18f7c010acf227dfcaa51824ad68578b8f4c03aa Mon Sep 17 00:00:00 2001 From: Onno Visser Date: Thu, 6 Jun 2024 21:45:13 +0200 Subject: [PATCH] fix csv (#2199) Co-authored-by: Sophia Co-authored-by: Jeroen <1748621+hieronx@users.noreply.github.com> --- centrifuge-app/src/components/Report/PoolBalance.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centrifuge-app/src/components/Report/PoolBalance.tsx b/centrifuge-app/src/components/Report/PoolBalance.tsx index 844042c519..ddcd5ce705 100644 --- a/centrifuge-app/src/components/Report/PoolBalance.tsx +++ b/centrifuge-app/src/components/Report/PoolBalance.tsx @@ -127,7 +127,7 @@ export function PoolBalance({ pool }: { pool: Pool }) { .reverse() .map((token) => ({ name: `\u00A0 \u00A0 ${token.currency.name.split(' ').at(-1)} tranche`, - value: poolStates?.map((state) => state.tranches[token.id]?.fulfilledRedeemOrders ?? 0) || [], + value: poolStates?.map((state) => state.tranches[token.id]?.fulfilledRedeemOrders.toFloat() ?? 0) || [], heading: false, })) || [] )