diff --git a/src/components/structures/GroupGridView.js b/src/components/structures/GroupGridView.js index 09bc0e300a..7a51604f0d 100644 --- a/src/components/structures/GroupGridView.js +++ b/src/components/structures/GroupGridView.js @@ -69,7 +69,7 @@ export default class RoomGridView extends React.Component { roomStores = roomStores.concat(emptyTiles); } return (
- { roomStores.map((roomStore) => { + { roomStores.map((roomStore, i) => { if (roomStore) { const isActive = roomStore === this.state.currentRoomStore; const tileClasses = classNames({ @@ -83,7 +83,7 @@ export default class RoomGridView extends React.Component { /> ); } else { - return (
); + return (
); } }) }
);