From 7121a680b45bf4df110a6817599b59f25fbff861 Mon Sep 17 00:00:00 2001 From: orangemug Date: Sat, 27 Oct 2018 14:08:23 +0100 Subject: [PATCH] Add missing prop type --- src/components/map/FeatureLayerPopup.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/map/FeatureLayerPopup.jsx b/src/components/map/FeatureLayerPopup.jsx index 516fc92..e9b98d4 100644 --- a/src/components/map/FeatureLayerPopup.jsx +++ b/src/components/map/FeatureLayerPopup.jsx @@ -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() {