From 39ed93bb61e7d0c7f1b9b6ca8736143fd1de57b6 Mon Sep 17 00:00:00 2001 From: 0xKurt Date: Thu, 11 Jul 2024 10:19:41 +0200 Subject: [PATCH 1/2] adding button --- .../builder/src/components/grants/Show.tsx | 50 +++++++++++++------ 1 file changed, 34 insertions(+), 16 deletions(-) diff --git a/packages/builder/src/components/grants/Show.tsx b/packages/builder/src/components/grants/Show.tsx index bb0fca9efb..d5438d85af 100644 --- a/packages/builder/src/components/grants/Show.tsx +++ b/packages/builder/src/components/grants/Show.tsx @@ -12,6 +12,7 @@ import Button, { ButtonVariants } from "../base/Button"; import PageNotFound from "../base/PageNotFound"; import Arrow from "../icons/Arrow"; import Pencil from "../icons/Pencil"; +import LinkIcon from "../icons/LinkIcon"; import Details from "./Details"; function Project() { @@ -89,24 +90,41 @@ function Project() { Project Details - {props.id && - props.owners && - props.owners.includes(props.signerAddress!) && ( - + + + + {props.id && + props.owners && + props.owners.includes(props.signerAddress!) && ( + - - - -   Edit - - - )} + + + )} +
Date: Thu, 11 Jul 2024 11:05:53 +0200 Subject: [PATCH 2/2] updated button copy --- packages/builder/src/components/grants/Show.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/builder/src/components/grants/Show.tsx b/packages/builder/src/components/grants/Show.tsx index d5438d85af..1ed5808415 100644 --- a/packages/builder/src/components/grants/Show.tsx +++ b/packages/builder/src/components/grants/Show.tsx @@ -12,7 +12,6 @@ import Button, { ButtonVariants } from "../base/Button"; import PageNotFound from "../base/PageNotFound"; import Arrow from "../icons/Arrow"; import Pencil from "../icons/Pencil"; -import LinkIcon from "../icons/LinkIcon"; import Details from "./Details"; function Project() { @@ -100,10 +99,7 @@ function Project() { variant={ButtonVariants.primary} styles={["sm:w-auto mx-w-full ml-0"]} > - - - -   Public Profile + View Public Profile {props.id &&