From 58187db80ad7abe46ea83ea610c8a8610c5528c4 Mon Sep 17 00:00:00 2001 From: Pramod Mahajan Date: Mon, 7 Jul 2025 11:09:18 +0530 Subject: [PATCH] added default active status at create new project --- src/components/Project/ManageProjectInfo.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/Project/ManageProjectInfo.jsx b/src/components/Project/ManageProjectInfo.jsx index 9c7f1f6d..1c289c16 100644 --- a/src/components/Project/ManageProjectInfo.jsx +++ b/src/components/Project/ManageProjectInfo.jsx @@ -20,6 +20,9 @@ const ManageProjectInfo = ({ project, handleSubmitForm, onClose }) => { const [addressLength, setAddressLength] = useState(0); const maxAddressLength = 500; +const ACTIVE_STATUS_ID = "b74da4c2-d07e-46f2-9919-e75e49b12731"; +const DEFAULT_EMPTY_STATUS_ID = "00000000-0000-0000-0000-000000000000"; + const projectSchema = z .object({ ...(project?.id ? { id: z.string().optional() } : {}),