From 85036cea98d5c97b5c4054e2c895a35a5507c0f0 Mon Sep 17 00:00:00 2001 From: Sophia Date: Thu, 14 Sep 2023 10:28:04 -0400 Subject: [PATCH] Hide tables in liqudity tab before epoch has been closed (#1581) --- .../src/components/LiquidityTransactionsSection.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/centrifuge-app/src/components/LiquidityTransactionsSection.tsx b/centrifuge-app/src/components/LiquidityTransactionsSection.tsx index 8cce59a6c6..20e09e30aa 100644 --- a/centrifuge-app/src/components/LiquidityTransactionsSection.tsx +++ b/centrifuge-app/src/components/LiquidityTransactionsSection.tsx @@ -104,7 +104,7 @@ export default function LiquidityTransactionsSection({ : [] }, [chartData, dataColors, tooltips, pool.currency.symbol]) - return ( + return chartData?.length ? ( )} - ) + ) : null }