mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-23 16:44:04 -05:00
parent
bbd8fdd185
commit
bb69d154c4
@ -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 });
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user