Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

fix children proptype #1553

Benjamin King01d6760fee41
diff --git a/web/js/components/util/detect-outer-click.js b/web/js/components/util/detect-outer-click.js
index 06def48fc..fce4f9af4 100644
--- a/web/js/components/util/detect-outer-click.js
+++ b/web/js/components/util/detect-outer-click.js
@@ -49,7 +49,7 @@ OutsideAlerter.defaultProps = {
disabled: false
};
OutsideAlerter.propTypes = {
- children: PropTypes.element.isRequired,
+ children: PropTypes.node.isRequired,
onClick: PropTypes.func.isRequired,
disabled: PropTypes.bool
};