From 83457e2010f31ad95e92fd8665fb2e76cf964a54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bel=C3=A9n=20Albeza?= Date: Tue, 30 Oct 2018 22:21:05 +0000 Subject: [PATCH] Bug 1501935 - Use PropTypes.node in ConnectSection. r=jdescottes Differential Revision: https://phabricator.services.mozilla.com/D10210 --HG-- extra : moz-landing-system : lando --- .../aboutdebugging-new/src/components/connect/ConnectSection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/client/aboutdebugging-new/src/components/connect/ConnectSection.js b/devtools/client/aboutdebugging-new/src/components/connect/ConnectSection.js index 0b063ec9ef18..f3ba81d675e6 100644 --- a/devtools/client/aboutdebugging-new/src/components/connect/ConnectSection.js +++ b/devtools/client/aboutdebugging-new/src/components/connect/ConnectSection.js @@ -11,7 +11,7 @@ const PropTypes = require("devtools/client/shared/vendor/react-prop-types"); class ConnectSection extends PureComponent { static get propTypes() { return { - children: PropTypes.any.isRequired, + children: PropTypes.node.isRequired, className: PropTypes.string, icon: PropTypes.string.isRequired, title: PropTypes.string.isRequired,