mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-28 17:41:16 +01:00
Add missing prop type
This commit is contained in:
parent
cf391031f0
commit
7121a680b4
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,8 @@ function groupFeaturesBySourceLayer(features) {
|
|||
class FeatureLayerPopup extends React.Component {
|
||||
static propTypes = {
|
||||
onLayerSelect: PropTypes.func.isRequired,
|
||||
features: PropTypes.array
|
||||
features: PropTypes.array,
|
||||
zoom: PropTypes.number,
|
||||
}
|
||||
|
||||
render() {
|
||||
|
|
Loading…
Reference in a new issue