We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95edc69 commit 184b88eCopy full SHA for 184b88e
src/index.js
@@ -109,8 +109,7 @@ class MediaQuery extends React.Component {
109
const props = omit(this.props, excludedPropKeys)
110
const hasMergeProps = Object.keys(props).length > 0
111
const childrenCount = React.Children.count(this.props.children)
112
- const wrapChildren = this.props.component ||
113
- this.props.children === undefined
+ const wrapChildren = this.props.component || this.props.children === undefined
114
if (wrapChildren) {
115
return React.createElement(
116
this.props.component || 'div',
0 commit comments