Commit cd8575ae authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Fix null error introduced in #9270 (#9275)

parent 4ce6ed20
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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 });
}
}
......
Supports Markdown
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