diff --git a/app/javascript/mastodon/components/status_action_bar.jsx b/app/javascript/mastodon/components/status_action_bar.jsx index 597bd030692fab..c816dc8a1e4998 100644 --- a/app/javascript/mastodon/components/status_action_bar.jsx +++ b/app/javascript/mastodon/components/status_action_bar.jsx @@ -159,7 +159,7 @@ class StatusActionBar extends ImmutablePureComponent { }; handleEmojiPick = (data) => { - const { signedIn } = this.context.identity; + const { signedIn } = this.props.identity; if (signedIn) { this.props.onEmojiReact(this.props.status, data); diff --git a/app/javascript/mastodon/features/status/index.jsx b/app/javascript/mastodon/features/status/index.jsx index cb183054713c8a..1a8cb39b187e18 100644 --- a/app/javascript/mastodon/features/status/index.jsx +++ b/app/javascript/mastodon/features/status/index.jsx @@ -276,7 +276,7 @@ class Status extends ImmutablePureComponent { handleEmojiReact = (status, emoji) => { const { dispatch } = this.props; - const { signedIn } = this.context.identity; + const { signedIn } = this.props.identity; if (signedIn) { dispatch(emojiReact(status, emoji));