mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2025-01-19 00:24:05 +01:00
Quick fixes
This commit is contained in:
parent
55321f8b2c
commit
77196a3be8
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}
|
||||||
|
|
|
@ -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 a new issue