Browse Source

Fix null error introduced in #9270 (#9275)

pull/4/head
Eugen Rochko 5 years ago
committed by GitHub
parent
commit
bb69d154c4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/features/status/components/card.js

+ 1
- 1
app/javascript/mastodon/features/status/components/card.js View File

@ -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…
Cancel
Save