mirror of https://github.com/vector-im/riot-web
Oops, put key in the right place
parent
2bd5b0fdad
commit
1dbc54e172
|
@ -36,7 +36,7 @@ module.exports = React.createClass({
|
||||||
getMessageTiles: function() {
|
getMessageTiles: function() {
|
||||||
return this.state.room.timeline.map(function(mxEv) {
|
return this.state.room.timeline.map(function(mxEv) {
|
||||||
return (
|
return (
|
||||||
<li><MessageTile mxEvent={mxEv} key={mxEv.getId()} /></li>
|
<li key={mxEv.getId()}><MessageTile mxEvent={mxEv} /></li>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue