Selected Building and Floor Should Persist While Creating Work Area and Activity (Project Infrastructure)

This commit is contained in:
Kartik Sharma 2025-09-27 12:05:04 +05:30
parent 1fb8eb9ef1
commit 874e0806d0

View File

@ -50,8 +50,8 @@ const WorkAreaModel = ({ project, onSubmit, onClose }) => {
: "Work Area created Successfully",
"success"
);
reset({ id: "0", buildingId: "0", areaName: "", floorId: "0" });
// onClose?.();
setValue("id", "0");
setValue("areaName", "");
},
});