Skip to content

Commit

Permalink
Fix POI filter behavior on initial load (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikischin authored Nov 28, 2023
1 parent a46fa6f commit 5f47db1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ const Map = React.forwardRef<mapkit.Map | null, React.PropsWithChildren<MapProps
);
} else {
// @ts-ignore
map.pointOfInterestFilter = null;
delete map.pointOfInterestFilter;
}
}, [map, includedPOICategories, excludedPOICategories]);

Expand Down

0 comments on commit 5f47db1

Please sign in to comment.