Fix all ESLint errors
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-28 12:25:04 +01:00
parent 3bf8859ff9
commit f5202f596d
21 changed files with 74 additions and 44 deletions

View File

@ -31,9 +31,11 @@ export function ConfigImportExportButtons(p: {
fileEl.click();
// Wait for a file to be chosen
await new Promise((res, _rej) =>
{ fileEl.addEventListener("change", () => { res(null); }); }
);
await new Promise((res) => {
fileEl.addEventListener("change", () => {
res(null);
});
});
if ((fileEl.files?.length ?? 0) === 0) return null;