1
0

fix reactions displayed twice

This commit is contained in:
Noa Himesaka 2023-11-14 19:38:43 +09:00
parent 07d738f780
commit 16be89be2b

View File

@ -347,14 +347,6 @@ class DetailedStatus extends ImmutablePureComponent {
canReact={this.context.identity.signedIn}
/>
<StatusReactions
statusId={status.get('id')}
reactions={status.get('reactions')}
addReaction={this.props.onReactionAdd}
removeReaction={this.props.onReactionRemove}
canReact={this.context.identity.signedIn}
/>
<div className='detailed-status__meta'>
<a className='detailed-status__datetime' href={status.get('url')} target='_blank' rel='noopener noreferrer'>
<FormattedDate value={new Date(status.get('created_at'))} hour12={false} year='numeric' month='short' day='2-digit' hour='2-digit' minute='2-digit' />