FIX: Biome automatic "unsafe" updates

This commit is contained in:
Nicolás Hatcher
2025-11-13 19:39:01 +01:00
committed by Nicolás Hatcher Andrés
parent bc9fefcb70
commit 630f0e1baf
3 changed files with 7 additions and 9 deletions

View File

@@ -189,11 +189,9 @@ function UploadFileDialog(properties: {
</DropZone>
) : (
<DropZone>
<>
<div style={{ flexGrow: 2 }} />
<div>{message}</div>
<div style={{ flexGrow: 2 }} />
</>
<div style={{ flexGrow: 2 }} />
<div>{message}</div>
<div style={{ flexGrow: 2 }} />
</DropZone>
)}

View File

@@ -34,7 +34,7 @@ export function updateNameSelectedWorkbook(model: Model, newName: string) {
models[uuid] = { name: newName, createdAt: Date.now() };
}
localStorage.setItem("models", JSON.stringify(models));
} catch (e) {
} catch (_e) {
console.warn("Failed saving new name");
}
}
@@ -130,7 +130,7 @@ export function isStorageEmpty(): boolean {
try {
const models = JSON.parse(modelsJson);
return Object.keys(models).length === 0;
} catch (e) {
} catch (_e) {
return true;
}
}