From 1ebce79b3e1759f64c9462357becc5685936641c Mon Sep 17 00:00:00 2001 From: sophian Date: Mon, 23 Oct 2023 17:58:00 -0400 Subject: [PATCH] Add loop ids --- centrifuge-app/src/components/PoolList.tsx | 4 ++-- centrifuge-app/src/components/Portfolio/AssetAllocation.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/centrifuge-app/src/components/PoolList.tsx b/centrifuge-app/src/components/PoolList.tsx index 7fb37db57d..73e9dbb347 100644 --- a/centrifuge-app/src/components/PoolList.tsx +++ b/centrifuge-app/src/components/PoolList.tsx @@ -90,12 +90,12 @@ export function PoolList() { ? Array(6) .fill(true) .map((_, index) => ( - + )) : filteredPools.map((pool) => ( - + ))} diff --git a/centrifuge-app/src/components/Portfolio/AssetAllocation.tsx b/centrifuge-app/src/components/Portfolio/AssetAllocation.tsx index 69ec228512..f94d6e3b7e 100644 --- a/centrifuge-app/src/components/Portfolio/AssetAllocation.tsx +++ b/centrifuge-app/src/components/Portfolio/AssetAllocation.tsx @@ -57,7 +57,7 @@ export function AssetAllocation({ address }: { address: string }) { {shares.map((cell, i) => ( - <> + {i > 0 && } - + ))}