From 14f1d52f7281335f3b0ea07108795900b8fdbb39 Mon Sep 17 00:00:00 2001 From: Shiv Bhonde Date: Tue, 27 Feb 2024 23:30:59 +0530 Subject: [PATCH] update ActiveGrants, Completed and GrantsReview to pass in BG app link --- packages/nextjs/app/_components/ActiveGrants.tsx | 2 +- packages/nextjs/app/_components/CompletedGrants.tsx | 2 +- packages/nextjs/app/admin/_components/GrantReview.tsx | 9 +-------- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/packages/nextjs/app/_components/ActiveGrants.tsx b/packages/nextjs/app/_components/ActiveGrants.tsx index 83902f5..c704917 100644 --- a/packages/nextjs/app/_components/ActiveGrants.tsx +++ b/packages/nextjs/app/_components/ActiveGrants.tsx @@ -10,7 +10,7 @@ const ActiveGrantRow = ({ title, askAmount, builder, approvedAt }: GrantData) => {title} {askAmount} ETH -
+
{approvedAt ? formatDateFromNow(approvedAt) : "-"} diff --git a/packages/nextjs/app/_components/CompletedGrants.tsx b/packages/nextjs/app/_components/CompletedGrants.tsx index 9caa567..c961fe8 100644 --- a/packages/nextjs/app/_components/CompletedGrants.tsx +++ b/packages/nextjs/app/_components/CompletedGrants.tsx @@ -23,7 +23,7 @@ const CompletedGrantCard = ({ title, description, askAmount, builder, link, comp

{title}

-
+

{askAmount} ETH

diff --git a/packages/nextjs/app/admin/_components/GrantReview.tsx b/packages/nextjs/app/admin/_components/GrantReview.tsx index 13cab66..da31696 100644 --- a/packages/nextjs/app/admin/_components/GrantReview.tsx +++ b/packages/nextjs/app/admin/_components/GrantReview.tsx @@ -103,14 +103,7 @@ export const GrantReview = ({ grant }: { grant: GrantDataWithBuilder }) => { ({grant.id})

{grant.description}