nitaliano / react-native-mapbox-gl

A Mapbox GL react native module for creating custom maps
Other
2.16k stars 697 forks source link

fallback for case when children is already an array #1527

Closed sethvincent closed 5 years ago

sethvincent commented 5 years ago

This is a small fix that ensures foundChildren won't be null when the filter method is called in the case where children is already an array.

Closes #1524

onitzschke commented 5 years ago

Cool but this was also fixed with PR https://github.com/mapbox/react-native-mapbox-gl/pull/1522 ^^