From af7d870848e9addb1b5aa3f290701d39c046ddc6 Mon Sep 17 00:00:00 2001 From: Pontus Abrahamsson Date: Sun, 3 Dec 2023 17:01:24 +0100 Subject: [PATCH] Closed styling --- .../src/app/[locale]/@dashboard/(closed)/closed/page.tsx | 6 +++--- apps/dashboard/src/components/transaction-details.tsx | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/dashboard/src/app/[locale]/@dashboard/(closed)/closed/page.tsx b/apps/dashboard/src/app/[locale]/@dashboard/(closed)/closed/page.tsx index 9d8d24713f..4332dd0797 100644 --- a/apps/dashboard/src/app/[locale]/@dashboard/(closed)/closed/page.tsx +++ b/apps/dashboard/src/app/[locale]/@dashboard/(closed)/closed/page.tsx @@ -5,14 +5,14 @@ import Link from "next/link"; export default function Closed() { return (
-
+
-
-
+
+
diff --git a/apps/dashboard/src/components/transaction-details.tsx b/apps/dashboard/src/components/transaction-details.tsx index 650129edc6..9c6796c06a 100644 --- a/apps/dashboard/src/components/transaction-details.tsx +++ b/apps/dashboard/src/components/transaction-details.tsx @@ -33,6 +33,7 @@ export function TransactionDetails({ useEffect(() => { if (initialData) { + setData(initialData); setLoading(false); } }, [initialData]);