mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2025-01-18 19:44:05 +01:00
Fix status reactions not animating on hover when logged out
This commit is contained in:
parent
1fb818a685
commit
33321d5448
1 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,8 @@ class Reaction extends ImmutablePureComponent {
|
|||
};
|
||||
|
||||
handleClick = () => {
|
||||
const { reaction, statusId, addReaction, removeReaction } = this.props;
|
||||
const { reaction, statusId, addReaction, removeReaction, canReact } = this.props;
|
||||
if (!canReact) return;
|
||||
|
||||
if (reaction.get('me') && removeReaction) {
|
||||
removeReaction(statusId, reaction.get('name'));
|
||||
|
@ -111,7 +112,6 @@ class Reaction extends ImmutablePureComponent {
|
|||
onClick={this.handleClick}
|
||||
onMouseEnter={this.handleMouseEnter}
|
||||
onMouseLeave={this.handleMouseLeave}
|
||||
disabled={!this.props.canReact}
|
||||
style={this.props.style}
|
||||
>
|
||||
<span className='reactions-bar__item__emoji'>
|
||||
|
|
Loading…
Reference in a new issue