From 937b236649981c3a840a80b52522c5967db21aba Mon Sep 17 00:00:00 2001 From: adrianvrj <adrivargas48@gmail.com> Date: Sat, 21 Dec 2024 16:47:55 -0600 Subject: [PATCH] [fix] correctly display donate --- components/modules/Fund/Fund.tsx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/components/modules/Fund/Fund.tsx b/components/modules/Fund/Fund.tsx index 5107443..487042a 100644 --- a/components/modules/Fund/Fund.tsx +++ b/components/modules/Fund/Fund.tsx @@ -108,7 +108,18 @@ const Fund = () => { voted={fund.voted} /> )} - {Number(fund.state) === 2 || Number(fund.state) === 3 && !isOwner && ( + {Number(fund.state) === 2 || Number(fund.state) === 3 && !isOwner && ( + <> + <FundDonate + currentBalance={fund.currentBalance} + goal={fund.goal} + addr={fund.addr} + name={fund.name} + icon={starknetlogo} + /> + </> + )} + {Number(fund.state) === 2 && isOwner && ( <> <FundDonate currentBalance={fund.currentBalance}