fix: oops

This commit is contained in:
2025-12-12 15:19:28 +01:00
parent 4023ab9bd5
commit b13c34ca15

View File

@@ -10,9 +10,7 @@
let working = $state(false);
let success = $state(false);
let error = $state<Error | undefined>(
new Error("ESP_ERR_OTA_VALIDATE_FAILED"),
);
let error = $state<Error | undefined>(undefined);
let isTooOld = $derived(
$serialPort ? semverLt($serialPort.version, "2.0.0") : false,