Quick fixes
This commit is contained in:
parent
11bebd28a2
commit
a2ab3f541c
2 changed files with 1 additions and 2 deletions
|
@ -244,7 +244,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}
|
||||||
|
|
|
@ -54,7 +54,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 a new issue