From 17655c0469ba866be15695ab72db71f4bcef9e51 Mon Sep 17 00:00:00 2001 From: "vedanta.gawande" Date: Sat, 27 Jun 2026 01:17:28 +0000 Subject: [PATCH] Clear errorDialog state when FormDialog closes Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- apps/dashboard/src/components/user-dialog.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dashboard/src/components/user-dialog.tsx b/apps/dashboard/src/components/user-dialog.tsx index 67111d355..bf51ab278 100644 --- a/apps/dashboard/src/components/user-dialog.tsx +++ b/apps/dashboard/src/components/user-dialog.tsx @@ -164,7 +164,7 @@ export function UserDialog(props: { /> { if (!open) setErrorDialog(null); props.onOpenChange?.(open); }} trigger={props.trigger} title={props.type === 'edit' ? "Edit User" : "Create User"} formSchema={formSchema}