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