lint errors

This commit is contained in:
Jake Kasper
2025-09-05 11:33:00 -04:00
parent b19db1d8c1
commit d21504c076

View File

@@ -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 };
});
}}></button>
<div></div>
@@ -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 };
});
}}></button>
<div></div>
@@ -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 };
});
}}></button>
<div></div>
@@ -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 };
});
}}></button>
<div></div>