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