From bc603a08cffe78846cf5880a178386dbbaee3985 Mon Sep 17 00:00:00 2001 From: charlesgauthereau Date: Sun, 11 Jan 2026 13:52:02 +0100 Subject: [PATCH] fix: Remove card in some forms. --- .../settings/email/email-form/email-form.tsx | 30 +----- .../dashboard/agent/agent-form/agent-form.tsx | 91 +++++++++---------- .../projects/project-form/project-form.tsx | 11 +-- 3 files changed, 55 insertions(+), 77 deletions(-) diff --git a/src/components/wrappers/dashboard/admin/settings/email/email-form/email-form.tsx b/src/components/wrappers/dashboard/admin/settings/email/email-form/email-form.tsx index cc53d0c0..9e3a84a8 100644 --- a/src/components/wrappers/dashboard/admin/settings/email/email-form/email-form.tsx +++ b/src/components/wrappers/dashboard/admin/settings/email/email-form/email-form.tsx @@ -95,8 +95,6 @@ export const EmailForm = (props: EmailFormProps) => { return ( - -
{ )} />
- - {/*{props.defaultValues?.smtpFrom && (*/} - {/* {*/} - {/* await mutationSendEmailTest.mutateAsync();*/} - {/* }}*/} - {/* icon={}*/} - {/* size="default"*/} - {/* className="bg-green-600 hover:bg-green-700 text-white font-medium shadow-sm transition-all"*/} - - {/* >Send email test*/} - {/*)}*/} - - - {props.defaultValues?.smtpFrom && ( @@ -227,14 +208,13 @@ export const EmailForm = (props: EmailFormProps) => { )} )} - - +
+ +
-
-
); }; diff --git a/src/components/wrappers/dashboard/agent/agent-form/agent-form.tsx b/src/components/wrappers/dashboard/agent/agent-form/agent-form.tsx index 9ce9f098..ee85a77f 100644 --- a/src/components/wrappers/dashboard/agent/agent-form/agent-form.tsx +++ b/src/components/wrappers/dashboard/agent/agent-form/agent-form.tsx @@ -57,54 +57,53 @@ export const AgentForm = (props: agentFormProps) => { }); - - return ( - - -
{ - await mutation.mutateAsync(values); - }} - > - ( - - Name - - - - Your agent project name - - - )} - /> - ( - - Description - - - - Enter your project agent description - - - )} - /> - - -
-
+
{ + await mutation.mutateAsync(values); + }} + > + ( + + Name + + + + Your agent project name + + + )} + /> + ( + + Description + + + + Enter your project agent description + + + )} + /> +
+ +
+ +
); }; diff --git a/src/components/wrappers/dashboard/projects/project-form/project-form.tsx b/src/components/wrappers/dashboard/projects/project-form/project-form.tsx index c19820fa..81026bb9 100644 --- a/src/components/wrappers/dashboard/projects/project-form/project-form.tsx +++ b/src/components/wrappers/dashboard/projects/project-form/project-form.tsx @@ -78,9 +78,6 @@ export const ProjectForm = (props: projectFormProps) => { }); return ( - - -
{ )} /> - +
+ +
-
-
); };