We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7520370 commit 1ffaf86Copy full SHA for 1ffaf86
modules/components/ContextWrapper.js
@@ -9,7 +9,7 @@ var React = require('react');
9
class ContextWrapper extends React.Component {
10
11
render() {
12
- return this.props.children;
+ return React.Children.only(this.props.children);
13
}
14
15
0 commit comments