Skip to content

Commit

Permalink
Update lib/error-boundary.js
Browse files Browse the repository at this point in the history
Co-Authored-By: Ash Wilson <smashwilson@github.com>
wadethestealth and smashwilson authored Oct 25, 2019
1 parent 5bb76cb commit d5a555a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/error-boundary.js
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';

export default class ErrorBoundary extends React.Component {
static propTypes = {
children: PropTypes.any,
children: PropTypes.node.isRequired,
fallback: PropTypes.any,
};

0 comments on commit d5a555a

Please sign in to comment.