Fixed Linting errors

pull/21833/head
Ayush PS 2021-04-28 23:40:23 +05:30
parent 8b644e783e
commit 81f2e67443
1 changed files with 3 additions and 3 deletions

View File

@ -542,7 +542,7 @@ export default class MessagePanel extends React.Component {
} }
if (!grouper) { if (!grouper) {
const wantTile = this._shouldShowEvent(mxEv); const wantTile = this._shouldShowEvent(mxEv);
const isGrouped =false const isGrouped =false;
if (wantTile) { if (wantTile) {
// make sure we unpack the array returned by _getTilesForEvent, // make sure we unpack the array returned by _getTilesForEvent,
// otherwise react will auto-generate keys and we will end up // otherwise react will auto-generate keys and we will end up
@ -989,7 +989,7 @@ class CreationGrouper {
for (const ejected of this.ejectedEvents) { for (const ejected of this.ejectedEvents) {
ret.push(...panel._getTilesForEvent( ret.push(...panel._getTilesForEvent(
createEvent, ejected, createEvent === lastShownEvent,isGrouped createEvent, ejected, createEvent === lastShownEvent, isGrouped,
)); ));
} }