VictorCazanave / react-svg-map

A set of React.js components to display an interactive SVG map
https://victorcazanave.github.io/react-svg-map/
MIT License
229 stars 48 forks source link

Breaks when supplying an invalid state id to selectedLocationIds #43

Closed insivika closed 4 years ago

insivika commented 4 years ago

Providing an invalid state id breaks the component. Would it be possible get this fix to where it would simply disregard invalid IDs?

VictorCazanave commented 4 years ago

Thank you for reporting this bug! I'll try to fix it this week ignoring the invalid ids.