Skip to content

Commit

Permalink
refactor: Create Shape from Cutouts
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Jul 30, 2024
1 parent a3ca08e commit 5b5c8bf
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions client/src/pages/map/popups/Polygon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -324,14 +324,11 @@ export function PolygonPopup({
: feature.geometry.coordinates.length < 2
}
onClick={() => {
useImportExport.setState({
feature: getFeatureCutouts(feature),
open: 'exportPolygon',
})
add(getFeatureCutouts(feature))
handleClose()
}}
>
Export Cutouts
Create Shape from Cutouts
</MenuItem>
<MenuItem
dense
Expand Down

0 comments on commit 5b5c8bf

Please sign in to comment.