mirror of
https://github.com/maputnik/editor.git
synced 2026-11-28 12:54:20 +00:00
Add missing prop type
This commit is contained in:
1 parent
cf391031f0
commit
7121a680b4
1 file changed
+2
-1
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user