We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ca207c4 + c69a57e commit 4e29f27Copy full SHA for 4e29f27
src/card/card.jsx
@@ -31,7 +31,7 @@ const Card = React.createClass({
31
let newChild = undefined;
32
let newProps = {};
33
let element = currentChild;
34
- if (!currentChild) {
+ if (!currentChild || !currentChild.props) {
35
return null;
36
}
37
if (this.state.expanded === false && currentChild.props.expandable === true)
0 commit comments