From d21504c07691f411434fc6efbaa53ef6582e5eba Mon Sep 17 00:00:00 2001 From: Jake Kasper Date: Fri, 5 Sep 2025 11:33:00 -0400 Subject: [PATCH] lint errors --- frontend/src/pages/Properties/PropertyDetail.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/pages/Properties/PropertyDetail.js b/frontend/src/pages/Properties/PropertyDetail.js index c5c0f2b..991b3ec 100644 --- a/frontend/src/pages/Properties/PropertyDetail.js +++ b/frontend/src/pages/Properties/PropertyDetail.js @@ -1289,7 +1289,7 @@ const PropertyDetail = () => { const metersPerDegLat = 111320; const dLat = (1 * 0.3048) / metersPerDegLat; // 1 ft north const coords = prev.coordinates.map(([la, ln]) => [la + dLat, ln]); - return { ...prev, coordinates }; + return { ...prev, coordinates: coords }; }); }}>▲
@@ -1300,7 +1300,7 @@ const PropertyDetail = () => { const metersPerDegLng = 111320 * Math.cos(lat * Math.PI / 180); const dLng = (1 * 0.3048) / metersPerDegLng; // 1 ft west const coords = prev.coordinates.map(([la, ln]) => [la, ln - dLng]); - return { ...prev, coordinates }; + return { ...prev, coordinates: coords }; }); }}>◀
@@ -1311,7 +1311,7 @@ const PropertyDetail = () => { const metersPerDegLng = 111320 * Math.cos(lat * Math.PI / 180); const dLng = (1 * 0.3048) / metersPerDegLng; // 1 ft east const coords = prev.coordinates.map(([la, ln]) => [la, ln + dLng]); - return { ...prev, coordinates }; + return { ...prev, coordinates: coords }; }); }}>▶
@@ -1320,7 +1320,7 @@ const PropertyDetail = () => { if (!prev) return prev; const dLat = (1 * 0.3048) / 111320; // 1 ft south const coords = prev.coordinates.map(([la, ln]) => [la - dLat, ln]); - return { ...prev, coordinates }; + return { ...prev, coordinates: coords }; }); }}>▼