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

Loading…
Cancel
Save