Skip to content

Commit

Permalink
fix: remove proposal and funds statistic from pool in review
Browse files Browse the repository at this point in the history
  • Loading branch information
Mati0x committed Oct 31, 2024
1 parent d70a23b commit 8b219cf
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion apps/web/components/PoolCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,18 @@ export function PoolCard({ pool, tokenGarden }: Props) {
icon={<HandRaisedIcon />}
count={proposals.length}
label="proposals"
className={`${isEnabled ? "visible" : "invisible"}`}
/>
<Statistic
icon={<CurrencyDollarIcon />}
label="funds"
className={`${poolType && PoolTypes[poolType] === "funding" ? "visible" : "invisible"}`}
className={`${
isEnabled ?
poolType && PoolTypes[poolType] === "funding" ?
"visible"
: "invisible"
: "invisible"
}`}
>
<DisplayNumber
number={[BigInt(poolAmount), tokenGarden.decimals]}
Expand Down

0 comments on commit 8b219cf

Please sign in to comment.