From 968dcaaae8bb08682b5a244d4c1174a4209c2067 Mon Sep 17 00:00:00 2001 From: Zai Shi Date: Wed, 18 Dec 2024 17:51:09 -0800 Subject: [PATCH] added toast --- .../projects/[projectId]/emails/page-client.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/emails/page-client.tsx b/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/emails/page-client.tsx index beabfd39d..ff0dd658f 100644 --- a/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/emails/page-client.tsx +++ b/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/emails/page-client.tsx @@ -174,6 +174,7 @@ function EditEmailServerDialog(props: { const [error, setError] = useState(null); const [formValues, setFormValues] = useState(null); const defaultValues = useMemo(() => getDefaultValues(project.config.emailConfig, project), [project]); + const { toast } = useToast(); return