chore(webui): fix eslint errors

This commit is contained in:
Tomáš Mládek 2023-03-19 20:18:14 +01:00
parent 81dcc7a8bf
commit 75c9c843ee
3 changed files with 2 additions and 4 deletions

View file

@ -183,7 +183,7 @@
}
let listEl: HTMLUListElement;
let optionFocusIndex: number = -1;
let optionFocusIndex = -1;
function handleArrowKeys(ev: KeyboardEvent) {
if (!options.length) {
return;

View file

@ -13,6 +13,7 @@
hash: "",
},
listen: () => {
// eslint-disable-next-line @typescript-eslint/no-empty-function
return () => {};
},
navigate: (to: string | number) => {

View file

@ -143,7 +143,6 @@
async function onSelectorInput(ev: CustomEvent<IValue>) {
const [xValue, yValue] = selectorCoords;
selectorCoords = null;
console.log("HERE");
await Promise.all(
[
[x, xValue],
@ -155,9 +154,7 @@
})
)
);
console.log("THERE");
await loadPoints();
console.log("OVERHER");
}
</script>