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

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) {