Browse Source

Fix reuse of detailed status components

see 12a9813a0c
pull/4/head
欧醚 4 years ago
parent
commit
d00d6415fe
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/javascript/mastodon/features/status/index.js

+ 2
- 0
app/javascript/mastodon/features/status/index.js View File

@ -559,6 +559,7 @@ class Status extends ImmutablePureComponent {
}}/>
:
<DetailedStatus
key={`detail-${status.get('id')}`}
status={status}
deep={deep}
onOpenVideo={this.handleOpenVideo}
@ -571,6 +572,7 @@ class Status extends ImmutablePureComponent {
}
<ActionBar
key={`action-bar-${status.get('id')}`}
status={status}
onReply={this.handleReplyClick}
onFavourite={this.handleFavouriteClick}

Loading…
Cancel
Save