From 8b219cf09f81e501db0875bbec1c0f10c8fbd548 Mon Sep 17 00:00:00 2001 From: Matias Date: Thu, 31 Oct 2024 14:31:22 -0300 Subject: [PATCH] fix: remove proposal and funds statistic from pool in review --- apps/web/components/PoolCard.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/web/components/PoolCard.tsx b/apps/web/components/PoolCard.tsx index a19c177ea..9e7f512d4 100644 --- a/apps/web/components/PoolCard.tsx +++ b/apps/web/components/PoolCard.tsx @@ -76,11 +76,18 @@ export function PoolCard({ pool, tokenGarden }: Props) { icon={} count={proposals.length} label="proposals" + className={`${isEnabled ? "visible" : "invisible"}`} /> } label="funds" - className={`${poolType && PoolTypes[poolType] === "funding" ? "visible" : "invisible"}`} + className={`${ + isEnabled ? + poolType && PoolTypes[poolType] === "funding" ? + "visible" + : "invisible" + : "invisible" + }`} >