fix: lint

This commit is contained in:
math-pixel
2026-04-27 14:19:26 +02:00
parent 753a767662
commit 3254291ba7
6 changed files with 140 additions and 103 deletions
+5 -2
View File
@@ -293,7 +293,9 @@ export function EditorPage(): React.JSX.Element {
models.set(modelName, blobUrl);
}
}
} catch {}
} catch {
/* empty */
}
};
const baseResponse = await fetch("/models/");
@@ -338,7 +340,8 @@ export function EditorPage(): React.JSX.Element {
const fileMap = new Map<string, File>();
for (const file of Array.from(files)) {
const webkitRelativePath =
(file as any).webkitRelativePath || "/" + file.name;
(file as File & { webkitRelativePath?: string }).webkitRelativePath ||
"/" + file.name;
fileMap.set(webkitRelativePath, file);
}