Added a key

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-02-17 13:22:19 +01:00
parent 3983c15302
commit 9420cc35cc
No known key found for this signature in database
GPG key ID: 9760693FDD98A790

View file

@ -483,7 +483,7 @@ export default class MessageComposer extends React.Component {
if (!this.state.isComposerEmpty) {
controls.push(
<SendButton onClick={this.sendMessage} />,
<SendButton key="controls_send" onClick={this.sendMessage} />,
);
}
} else if (this.state.tombstone) {