From 0fdd9c28bf424e959ff2b20784cdc768c16e0334 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Wed, 22 Nov 2023 15:36:34 +0530 Subject: [PATCH] fix: project setting ui consistency (#2835) --- web/components/project/form.tsx | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/web/components/project/form.tsx b/web/components/project/form.tsx index 63d8a2a92..267b2506c 100644 --- a/web/components/project/form.tsx +++ b/web/components/project/form.tsx @@ -63,10 +63,7 @@ export const ProjectDetailsForm: FC<IProjectDetailsForm> = (props) => { return projectStore .updateProject(workspaceSlug.toString(), project.id, payload) .then((res) => { - trackEvent( - 'UPDATE_PROJECT', - res - ); + trackEvent("UPDATE_PROJECT", res); setToastAlert({ type: "success", title: "Success!", @@ -74,9 +71,7 @@ export const ProjectDetailsForm: FC<IProjectDetailsForm> = (props) => { }); }) .catch((error) => { - trackEvent( - 'UPDATE_PROJECT/FAIL', - ); + trackEvent("UPDATE_PROJECT/FAIL"); setToastAlert({ type: "error", title: "Error!", @@ -261,7 +256,7 @@ export const ProjectDetailsForm: FC<IProjectDetailsForm> = (props) => { value={value} onChange={onChange} label={selectedNetwork?.label ?? "Select network"} - className="!border-custom-border-200 !shadow-none font-medium" + buttonClassName="!border-custom-border-200 !shadow-none font-medium rounded-md" input disabled={!isAdmin} optionsClassName="w-full"