forked from matrix/element-web
put key='' on the right element
This commit is contained in:
parent
cf77a96ac5
commit
18be8530fe
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue