diff options
author | ThibG <thib@sitedethib.com> | 2020-01-06 18:22:17 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2020-01-06 18:22:17 +0100 |
commit | 12a9813a0cc269d7b7c72095e279f70ddb7bec6e (patch) | |
tree | 6a3681da0c32671d2cab0c8bd0877937df49db1c /app | |
parent | 7c57c3d2fffb7be67a8edd1964d2be932437c6c8 (diff) |
Fix reuse of detailed status components (#12792)
Fixes #12770
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/mastodon/features/status/index.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/javascript/mastodon/features/status/index.js b/app/javascript/mastodon/features/status/index.js index 6b18f34d1..c058120d6 100644 --- a/app/javascript/mastodon/features/status/index.js +++ b/app/javascript/mastodon/features/status/index.js @@ -542,6 +542,7 @@ class Status extends ImmutablePureComponent { <HotKeys handlers={handlers}> <div className={classNames('focusable', 'detailed-status__wrapper')} tabIndex='0' aria-label={textForScreenReader(intl, status, false)}> <DetailedStatus + key={`details-${status.get('id')}`} status={status} onOpenVideo={this.handleOpenVideo} onOpenMedia={this.handleOpenMedia} @@ -552,6 +553,7 @@ class Status extends ImmutablePureComponent { /> <ActionBar + key={`action-bar-${status.get('id')}`} status={status} onReply={this.handleReplyClick} onFavourite={this.handleFavouriteClick} |