mirror of
https://github.com/funamitech/mastodon
synced 2024-12-12 21:59:04 +09:00
Quick fixes
This commit is contained in:
parent
3ee1d9a49c
commit
3361f8851e
@ -242,7 +242,7 @@ class ActionBar extends PureComponent {
|
|||||||
const canReact = signedIn && status.get('reactions').filter(r => r.get('count') > 0 && r.get('me')).size < maxReactions;
|
const canReact = signedIn && status.get('reactions').filter(r => r.get('count') > 0 && r.get('me')).size < maxReactions;
|
||||||
const reactButton = (
|
const reactButton = (
|
||||||
<IconButton
|
<IconButton
|
||||||
className='plus-icon'
|
className='add-reaction-icon'
|
||||||
onClick={this.handleNoOp} // EmojiPickerDropdown handles that
|
onClick={this.handleNoOp} // EmojiPickerDropdown handles that
|
||||||
title={intl.formatMessage(messages.react)}
|
title={intl.formatMessage(messages.react)}
|
||||||
disabled={!canReact}
|
disabled={!canReact}
|
||||||
|
@ -58,7 +58,6 @@ class DetailedStatus extends ImmutablePureComponent {
|
|||||||
onToggleMediaVisibility: PropTypes.func,
|
onToggleMediaVisibility: PropTypes.func,
|
||||||
onReactionAdd: PropTypes.func.isRequired,
|
onReactionAdd: PropTypes.func.isRequired,
|
||||||
onReactionRemove: PropTypes.func.isRequired,
|
onReactionRemove: PropTypes.func.isRequired,
|
||||||
intl: PropTypes.object.isRequired,
|
|
||||||
...WithRouterPropTypes,
|
...WithRouterPropTypes,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user