Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ module.exports = function Dimensions ({
}
return (
<div className={className} style={containerStyle} ref='container'>
{(containerWidth || containerHeight) &&
{!(containerWidth || containerHeight) : null ?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand this is probably pending a maintainer. But just to note, it appears the ternary has the ? and : in the incorrect order.

<ComposedComponent
{...this.state}
{...this.props}
Expand Down