fix lint warnings

This commit is contained in:
Bruno Windels 2022-11-25 16:56:01 +01:00
parent efa45cade6
commit 195142c249
3 changed files with 1 additions and 3 deletions

View File

@ -15,7 +15,6 @@ limitations under the License.
*/
import {SimpleTile} from "./SimpleTile.js";
import {TileShape} from "./ITile";
import {ReactionsViewModel} from "../ReactionsViewModel.js";
import {getIdentifierColorNumber, avatarInitials, getAvatarHttpUrl} from "../../../../avatar";

View File

@ -51,7 +51,6 @@ export class SimpleTile extends ViewModel {
_updateDateSeparator(prev) {
if (prev && prev._date && this._date) {
const neededDateSeparator = this._needsDateSeparator;
this._needsDateSeparator = prev._date.getFullYear() !== this._date.getFullYear() ||
prev._date.getMonth() !== this._date.getMonth() ||
prev._date.getDate() !== this._date.getDate();