From 97cf56498081e42ff9ca1be9f5594e2ab480d55b Mon Sep 17 00:00:00 2001 From: Pablo Alayeto <55535804+Pabl0cks@users.noreply.github.com> Date: Fri, 22 Mar 2024 12:35:32 +0100 Subject: [PATCH] Hide ETH amount if grant status is Proposed --- packages/nextjs/app/my-grants/page.tsx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/packages/nextjs/app/my-grants/page.tsx b/packages/nextjs/app/my-grants/page.tsx index 19565aad..070a5f44 100644 --- a/packages/nextjs/app/my-grants/page.tsx +++ b/packages/nextjs/app/my-grants/page.tsx @@ -40,12 +40,14 @@ const MyGrants: NextPage = () => { {grant.title} ({grant.id}) -
- ETH Icon - - {grant.askAmount} ETH - -
+ {grant.status !== PROPOSAL_STATUS.PROPOSED && ( +
+ ETH Icon + + {grant.askAmount} ETH + +
+ )}

{grant.description}

{grant.status}

{grant.status === PROPOSAL_STATUS.APPROVED && (