1
0

Fix reaction patch, take 1

This commit is contained in:
Noa Himesaka 2024-01-19 18:50:25 +09:00
parent d5ccbab8d5
commit 0c9d3ab65a

View File

@ -228,17 +228,6 @@ class ActionBar extends PureComponent {
} }
} }
const canReact = signedIn && status.get('reactions').filter(r => r.get('count') > 0 && r.get('me')).size < maxReactions;
const reactButton = (
<IconButton
className='plus-icon'
onClick={this.handleNoOp} // EmojiPickerDropdown handles that
title={intl.formatMessage(messages.react)}
disabled={!canReact}
icon='plus'
/>
);
let replyIcon; let replyIcon;
let replyIconComponent; let replyIconComponent;