Skip to content
Snippets Groups Projects
Commit 12a9813a authored by ThibG's avatar ThibG Committed by Eugen Rochko
Browse files

Fix reuse of detailed status components (#12792)

Fixes #12770
parent 7c57c3d2
No related branches found
No related tags found
No related merge requests found
......@@ -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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment