Remove redundant PropTypes (#8126)

Specifying a PropType of either type `node` or type
`arrayOf(PropTypes.node)` is redundant, because an array of nodes is
itself a node.
feature/default_network_editable
Mark Stacey 5 years ago committed by GitHub
parent 64aef5033d
commit 46157cb476
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      ui/app/components/app/modals/fade-modal.js

@ -129,10 +129,7 @@ class FadeModal extends Component {
modalStyle: PropTypes.object,
onShow: PropTypes.func,
onHide: PropTypes.func,
children: PropTypes.oneOfType([
PropTypes.arrayOf(PropTypes.node),
PropTypes.node,
]),
children: PropTypes.node,
}
static defaultProps = {

Loading…
Cancel
Save