added default active status at create new project

This commit is contained in:
Pramod Mahajan 2025-07-07 11:09:18 +05:30
parent 9447178985
commit 58187db80a

View File

@ -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() } : {}),