From 7d6fbfa22649810f1f272e466020465efee65252 Mon Sep 17 00:00:00 2001 From: Dotty Date: Tue, 10 Dec 2024 09:58:20 -0400 Subject: [PATCH] [TM-1535] remove add polygon in polygon review --- .../PolygonReviewTab/components/Polygons.tsx | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/admin/components/ResourceTabs/PolygonReviewTab/components/Polygons.tsx b/src/admin/components/ResourceTabs/PolygonReviewTab/components/Polygons.tsx index 7308a743..63a513c7 100644 --- a/src/admin/components/ResourceTabs/PolygonReviewTab/components/Polygons.tsx +++ b/src/admin/components/ResourceTabs/PolygonReviewTab/components/Polygons.tsx @@ -66,7 +66,7 @@ const Polygons = (props: IPolygonProps) => { const contextMapArea = useMapAreaContext(); const reloadSiteData = context?.reloadSiteData; const sitePolygonData = context?.sitePolygonData; - const { setIsUserDrawingEnabled, setSelectedPolygonsInCheckbox, selectedPolygonsInCheckbox } = contextMapArea; + const { setSelectedPolygonsInCheckbox, selectedPolygonsInCheckbox } = contextMapArea; const [openCollapseAll, setOpenCollapseAll] = useState(false); useEffect(() => { @@ -221,20 +221,15 @@ const Polygons = (props: IPolygonProps) => { /> )} -
+
Polygons -
- +