Add missing `key` to `ReplyInThreadButton` as used in `MessageActionBar` (#8616)

pull/28217/head
Travis Ralston 2022-05-16 16:09:38 -06:00 committed by GitHub
parent 4162c21596
commit 12cee6e29f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ export default class MessageActionBar extends React.PureComponent<IMessageAction
key="cancel"
/>;
const threadTooltipButton = <ReplyInThreadButton mxEvent={this.props.mxEvent} />;
const threadTooltipButton = <ReplyInThreadButton mxEvent={this.props.mxEvent} key="reply_thread" />;
// We show a different toolbar for failed events, so detect that first.
const mxEvent = this.props.mxEvent;