Browse Source

Oops, put key in the right place

pull/1/head
David Baker 7 years ago
parent
commit
1dbc54e172
  1. 2
      src/organisms/RoomView.js

2
src/organisms/RoomView.js

@ -36,7 +36,7 @@ module.exports = React.createClass({
getMessageTiles: function() {
return this.state.room.timeline.map(function(mxEv) {
return (
<li><MessageTile mxEvent={mxEv} key={mxEv.getId()} /></li>
<li key={mxEv.getId()}><MessageTile mxEvent={mxEv} /></li>
);
});
},

Loading…
Cancel
Save