Skip to content

Commit

Permalink
try a fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
Ember-ruby authored Oct 29, 2023
1 parent fc180e5 commit 1223d28
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions app/javascript/flavours/glitch/components/status.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,9 @@ export const defaultMediaVisibility = (status, settings) => {

class Status extends ImmutablePureComponent {

static contextTypes = {
identity: PropTypes.object,
};

static propTypes = {
containerId: PropTypes.string,
identity: PropTypes.object,
id: PropTypes.string,
status: ImmutablePropTypes.map,
account: ImmutablePropTypes.map,
Expand Down Expand Up @@ -844,7 +841,7 @@ class Status extends ImmutablePureComponent {
numVisible={visibleReactions}
addReaction={this.props.onReactionAdd}
removeReaction={this.props.onReactionRemove}
canReact={this.context.identity.signedIn}
canReact={this.props.identity.signedIn}
/>

{!isCollapsed || !(muted || !settings.getIn(['collapsed', 'show_action_bar'])) ? (
Expand Down

0 comments on commit 1223d28

Please sign in to comment.