fix check for active polygon index

This commit is contained in:
Josh Hawkins 2025-04-09 07:14:20 -05:00
parent e0b4f42b71
commit bdbb159178

View File

@ -677,7 +677,7 @@ export default function ZoneEditPane({
{form.watch("speedEstimation") &&
polygons &&
activePolygonIndex &&
activePolygonIndex !== undefined &&
polygons[activePolygonIndex].points.length === 4 && (
<>
<FormField