From 874e0806d0336b2e04a67ffa8caf20d72e0fdee2 Mon Sep 17 00:00:00 2001 From: Kartik Sharma Date: Sat, 27 Sep 2025 12:05:04 +0530 Subject: [PATCH] Selected Building and Floor Should Persist While Creating Work Area and Activity (Project Infrastructure) --- src/components/Project/Infrastructure/WorkAreaModel.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Project/Infrastructure/WorkAreaModel.jsx b/src/components/Project/Infrastructure/WorkAreaModel.jsx index 3da776cd..8e7a873c 100644 --- a/src/components/Project/Infrastructure/WorkAreaModel.jsx +++ b/src/components/Project/Infrastructure/WorkAreaModel.jsx @@ -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", ""); }, }); @@ -194,7 +194,7 @@ const WorkAreaModel = ({ project, onSubmit, onClose }) => { - + );