Skip to content

Commit 1ffaf86

Browse files
nhunzakerryanflorence
authored andcommitted
[change] Wrap ContextWrapper in React.Children.only
1 parent 7520370 commit 1ffaf86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/components/ContextWrapper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var React = require('react');
99
class ContextWrapper extends React.Component {
1010

1111
render() {
12-
return this.props.children;
12+
return React.Children.only(this.props.children);
1313
}
1414

1515
}

0 commit comments

Comments
 (0)