From 12a9813a0cc269d7b7c72095e279f70ddb7bec6e Mon Sep 17 00:00:00 2001 From: ThibG <thib@sitedethib.com> Date: Mon, 6 Jan 2020 18:22:17 +0100 Subject: [PATCH] Fix reuse of detailed status components (#12792) Fixes #12770 --- app/javascript/mastodon/features/status/index.js | 2 ++ 1 file changed, 2 insertions(+) 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}