diff --git a/app/soapbox/components/status_content.js b/app/soapbox/components/status_content.js index 16e9134a8..4913b5eb9 100644 --- a/app/soapbox/components/status_content.js +++ b/app/soapbox/components/status_content.js @@ -91,8 +91,11 @@ class StatusContent extends React.PureComponent { } setOnlyEmoji = () => { - if (this.node && this.state.onlyEmoji === undefined) { - this.setState({ onlyEmoji: onlyEmoji(this.node, BIG_EMOJI_LIMIT, true) }); + if (!this.node) return; + const only = onlyEmoji(this.node, BIG_EMOJI_LIMIT, true); + + if (only !== this.state.onlyEmoji) { + this.setState({ onlyEmoji: only }); } }