Commit cd8575ae authored by Eugen Rochko's avatar Eugen Rochko

Fix null error introduced in #9270 (#9275)

parent 4ce6ed20
......@@ -73,7 +73,7 @@ export default class Card extends React.PureComponent {
};
componentWillReceiveProps (nextProps) {
if (!this.props.card.equals(nextProps.card)) {
if (!Immutable.is(this.props.card, nextProps.card)) {
this.setState({ embedded: false });
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment