From f3793b556e08a9ca49744e5e6a05da80b8a4a279 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Wed, 13 Apr 2016 02:02:55 +0100 Subject: [PATCH] fix super-annoying key warning from react --- src/components/views/rooms/MessageComposer.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/views/rooms/MessageComposer.js b/src/components/views/rooms/MessageComposer.js index 8a0a91fae9..78319c7682 100644 --- a/src/components/views/rooms/MessageComposer.js +++ b/src/components/views/rooms/MessageComposer.js @@ -127,7 +127,7 @@ module.exports = React.createClass({ var controls = []; controls.push( -
+
); @@ -135,17 +135,17 @@ module.exports = React.createClass({ var callButton, videoCallButton, hangupButton; if (this.props.callState && this.props.callState !== 'ended') { hangupButton = -
+
Hangup
; } else { callButton = -
+
videoCallButton = -
+
} @@ -158,7 +158,7 @@ module.exports = React.createClass({ // check separately for whether we can call, but this is slightly // complex because of conference calls. var uploadButton = ( -
, uploadButton, hangupButton, @@ -178,7 +178,7 @@ module.exports = React.createClass({ ); } else { controls.push( -
+
You do not have permission to post to this room
);