Refactor various components: remove console logs, adjust visibility logic, and enhance styling for active list items

This commit is contained in:
2025-05-20 15:49:45 +05:30
parent 4298c34a36
commit 9b3a4e7253
12 changed files with 171 additions and 49 deletions

View File

@@ -57,7 +57,7 @@ const ZoneProperties: React.FC = () => {
};
// Call your API to update the zone
let response = await zoneCameraUpdate(zonesdata, organization);
console.log("response: ", response);
// console.log("response: ", response);
if (response.message === "updated successfully") {
setZones((prevZones: any[]) =>
prevZones.map((zone) =>