Add missing prop type

This commit is contained in:
orangemug 2018-10-27 14:08:23 +01:00
parent cf391031f0
commit 7121a680b4

View file

@ -29,7 +29,8 @@ function groupFeaturesBySourceLayer(features) {
class FeatureLayerPopup extends React.Component { class FeatureLayerPopup extends React.Component {
static propTypes = { static propTypes = {
onLayerSelect: PropTypes.func.isRequired, onLayerSelect: PropTypes.func.isRequired,
features: PropTypes.array features: PropTypes.array,
zoom: PropTypes.number,
} }
render() { render() {