put key='' on the right element

This commit is contained in:
Matthew Hodgson 2015-08-12 01:45:04 +01:00
parent cf77a96ac5
commit 18be8530fe
1 changed files with 2 additions and 1 deletions

View File

@ -353,7 +353,8 @@ module.exports = {
} }
if (!TileType) continue; if (!TileType) continue;
ret.unshift( ret.unshift(
<li><TileType key={mxEv.getId()} mxEvent={mxEv} continuation={continuation} last={last}/></li> // XXX: don't wrap everything in a needless li - make the TileType a li if we must :(
<li key={mxEv.getId()}><TileType mxEvent={mxEv} continuation={continuation} last={last}/></li>
); );
if (dateSeparator) { if (dateSeparator) {
ret.unshift(dateSeparator); ret.unshift(dateSeparator);