From f052b1d2ec0a2c64598ce296f60a873e33f218f8 Mon Sep 17 00:00:00 2001 From: "Shiv Bhonde | shivbhonde.eth" Date: Fri, 15 Mar 2024 17:29:01 +0000 Subject: [PATCH] Show askAmount on my-grants page (#80) --- packages/nextjs/app/admin/_components/GrantReview.tsx | 2 +- packages/nextjs/app/my-grants/page.tsx | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/packages/nextjs/app/admin/_components/GrantReview.tsx b/packages/nextjs/app/admin/_components/GrantReview.tsx index 4978ac4..de8a11f 100644 --- a/packages/nextjs/app/admin/_components/GrantReview.tsx +++ b/packages/nextjs/app/admin/_components/GrantReview.tsx @@ -71,7 +71,7 @@ export const GrantReview = ({ grant, selected, toggleSelection }: GrantReviewPro const completeActionDisableToolTip = isCompleteActionDisabled && `Please switch to chain: ${grant.txChainId}`; return ( -
+

{grant.title}

diff --git a/packages/nextjs/app/my-grants/page.tsx b/packages/nextjs/app/my-grants/page.tsx index 5d65176..19565aa 100644 --- a/packages/nextjs/app/my-grants/page.tsx +++ b/packages/nextjs/app/my-grants/page.tsx @@ -1,6 +1,7 @@ "use client"; import { useState } from "react"; +import Image from "next/image"; import { SubmitModal } from "./_components/SubmitModal"; import { NextPage } from "next"; import useSWR from "swr"; @@ -35,11 +36,17 @@ const MyGrants: NextPage = () => { {builderGrants?.length === 0 &&

No grants found

} {builderGrants?.map(grant => (
-

+

{grant.title} ({grant.id})

-

{grant.description}

+
+ ETH Icon + + {grant.askAmount} ETH + +
+

{grant.description}

{grant.status}

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