Cancel quote button appearing in all statuses (#37742)
This commit is contained in:
4 files changed
+53
-9
No files matched your search
@@ -140,6 +140,7 @@ class Status extends ImmutablePureComponent {
|
||||
'hidden',
|
||||
'unread',
|
||||
'pictureInPicture',
|
||||
'headerRenderFn',
|
||||
];
|
||||
|
||||
state = {
|
||||
@@ -556,7 +557,7 @@ class Status extends ImmutablePureComponent {
|
||||
const {statusContentProps, hashtagBar} = getHashtagBarForStatus(status);
|
||||
|
||||
const header = this.props.headerRenderFn
|
||||
? this.props.headerRenderFn({ status, account, avatarSize, messages, onHeaderClick: this.handleHeaderClick })
|
||||
? this.props.headerRenderFn({ status, account, avatarSize, messages, onHeaderClick: this.handleHeaderClick, statusProps: this.props })
|
||||
: (
|
||||
<StatusHeader
|
||||
status={status}
|
||||
|
||||
Reference in new issue
Block a user