Skip to content

Commit

Permalink
revert index file change in draw boundary
Browse files Browse the repository at this point in the history
  • Loading branch information
RODO94 committed Dec 10, 2024
1 parent 485e63c commit ea4c351
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default function Component(props: Props) {
isMounted.current = true;

const geojsonChangeHandler = ({ detail: geojson }: any) => {
if (geojson["EPSG:3857"]?.features) {
if (geojson["EPSG:3857"]?.features) {
// only a single polygon can be drawn, so get first feature in geojson "FeatureCollection"
setBoundary(geojson["EPSG:3857"].features[0]);
setArea(
Expand Down

0 comments on commit ea4c351

Please sign in to comment.