Skip to content

Commit 2f5a7d2

Browse files
committed
🎨 correct conditional statement
#257
1 parent ff26e03 commit 2f5a7d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/card/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class Card extends React.Component {
5252
</div>
5353
{/* eslint-disable jsx-a11y/click-events-have-key-events */}
5454
{/* eslint-disable jsx-a11y/no-static-element-interactions */}
55-
{expandedContent && <div {...iconProps} />}
55+
{expandedContent !== null && <div {...iconProps} />}
5656
</div>
5757
);
5858
}

0 commit comments

Comments
 (0)