From d662aaba8aea3332f17aeab26055ad055f2a88e2 Mon Sep 17 00:00:00 2001 From: Anton Cheng Date: Tue, 7 Jan 2025 23:45:48 +0800 Subject: [PATCH] chore: toast funt --- src/components/providers/ThemeProvider.tsx | 2 +- src/hooks/useTransactionWithToast.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/providers/ThemeProvider.tsx b/src/components/providers/ThemeProvider.tsx index f4e96c2d..a06865bb 100644 --- a/src/components/providers/ThemeProvider.tsx +++ b/src/components/providers/ThemeProvider.tsx @@ -17,7 +17,7 @@ export function ThemeProviders({ children }: { children: React.ReactNode }) { ); diff --git a/src/hooks/useTransactionWithToast.tsx b/src/hooks/useTransactionWithToast.tsx index 2b66fa03..ff0e4884 100644 --- a/src/hooks/useTransactionWithToast.tsx +++ b/src/hooks/useTransactionWithToast.tsx @@ -47,7 +47,7 @@ export function useTransactionWithToast({ const renderToastContent = useCallback( (title: string, description?: string) => ( -
+
{title}
{description &&
{description}
}