Skip to content

Commit

Permalink
Fix: 絵文字リアクションができない問題 (#747)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmycode authored May 24, 2024
1 parent d39b6d3 commit f3f9e5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/javascript/mastodon/components/status_action_bar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/mastodon/features/status/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit f3f9e5d

Please sign in to comment.