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

This commit is contained in:
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

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;