From 6e8fa900e476b84a7eacee673d1e6e39677a80fb Mon Sep 17 00:00:00 2001 From: Jake Kasper Date: Thu, 4 Sep 2025 07:49:50 -0500 Subject: [PATCH] polygons --- .../src/pages/Properties/PropertyDetail.js | 73 +++++++++++-------- 1 file changed, 43 insertions(+), 30 deletions(-) diff --git a/frontend/src/pages/Properties/PropertyDetail.js b/frontend/src/pages/Properties/PropertyDetail.js index b177aab..c54099d 100644 --- a/frontend/src/pages/Properties/PropertyDetail.js +++ b/frontend/src/pages/Properties/PropertyDetail.js @@ -353,6 +353,7 @@ const PropertyDetail = () => { const [gpsDistance, setGpsDistance] = useState(0); const [gpsAccuracy, setGpsAccuracy] = useState(null); const [isSnapPreview, setIsSnapPreview] = useState(false); + const [showAddMenu, setShowAddMenu] = useState(false); const [currentColor, setCurrentColor] = useState(SECTION_COLORS[0]); const [showNameModal, setShowNameModal] = useState(false); const [pendingSection, setPendingSection] = useState(null); @@ -810,40 +811,52 @@ const PropertyDetail = () => { )} -
+
- - -
+ {showAddMenu && ( +
+ + + +
+ )} +