mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
fix lint
This commit is contained in:
parent
11fba12083
commit
1fc1d2c79b
@ -20,7 +20,7 @@ export class ListObserver {
|
||||
}
|
||||
|
||||
_nextEvent(type) {
|
||||
const queue = this._queuesPerType.get(type);
|
||||
let queue = this._queuesPerType.get(type);
|
||||
if (!queue) {
|
||||
queue = [];
|
||||
this._queuesPerType.set(type, queue);
|
||||
@ -55,7 +55,7 @@ export class ListObserver {
|
||||
return queue?.unshift();
|
||||
}
|
||||
|
||||
onReset(list) {
|
||||
onReset() {
|
||||
const resolve = this._popQueue("reset");
|
||||
resolve && resolve();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user