From 33ffd76540ff1a327b8d22fd70470e01beb3ec60 Mon Sep 17 00:00:00 2001 From: "Carina.Akaia.io" Date: Mon, 24 Jun 2024 15:45:35 +0400 Subject: [PATCH] fix: Adjust styles --- src/modules/donation/components/DonationFlow.tsx | 1 - src/modules/donation/components/DonationSuccess.tsx | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/modules/donation/components/DonationFlow.tsx b/src/modules/donation/components/DonationFlow.tsx index 1fc54c6a..c818ed6a 100644 --- a/src/modules/donation/components/DonationFlow.tsx +++ b/src/modules/donation/components/DonationFlow.tsx @@ -20,7 +20,6 @@ export type DonationFlowProps = DonationSubmissionInputs & }; export const DonationFlow: React.FC = ({ - closeModal, currentStep, successResult: result, ...props diff --git a/src/modules/donation/components/DonationSuccess.tsx b/src/modules/donation/components/DonationSuccess.tsx index dff8cd78..5843efef 100644 --- a/src/modules/donation/components/DonationSuccess.tsx +++ b/src/modules/donation/components/DonationSuccess.tsx @@ -1,7 +1,7 @@ import { Check, Copy, XIcon } from "lucide-react"; import Link from "next/link"; -import { Button, Skeleton } from "@/common/ui/components"; +import { Button, DialogDescription, Skeleton } from "@/common/ui/components"; import { DonationBreakdown } from "./DonationBreakdown"; import { DonationState } from "../models"; @@ -12,7 +12,7 @@ export type DonationSuccessProps = { export const DonationSuccess = ({ result }: DonationSuccessProps) => { return ( -
+
{ )} -
+
{`Txn Hash : ${result?.id}`}
-
+ ); };