diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-11-12 22:07:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-12 22:07:31 +0100 |
commit | bb69d154c43da667d5768e2707d2240c60b7346a (patch) | |
tree | 8401b53f8be9b0c652b323b8ce0c5b8c944ae98d /app/javascript | |
parent | bbd8fdd185063d8b2464b20ee95c366718b75fc6 (diff) |
Fix null error introduced in #9270 (#9275)
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/mastodon/features/status/components/card.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/status/components/card.js b/app/javascript/mastodon/features/status/components/card.js index 3474a11e5..235d209b8 100644 --- a/app/javascript/mastodon/features/status/components/card.js +++ b/app/javascript/mastodon/features/status/components/card.js @@ -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 }); } } |