mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
put key='' on the right element
This commit is contained in:
parent
cf77a96ac5
commit
18be8530fe
@ -353,7 +353,8 @@ module.exports = {
|
||||
}
|
||||
if (!TileType) continue;
|
||||
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) {
|
||||
ret.unshift(dateSeparator);
|
||||
|
Loading…
Reference in New Issue
Block a user