diff --git a/lib/gui/app/models/leds.ts b/lib/gui/app/models/leds.ts index 87e35469..a9aa7716 100644 --- a/lib/gui/app/models/leds.ts +++ b/lib/gui/app/models/leds.ts @@ -193,7 +193,7 @@ function stateObserver(state: typeof DEFAULT_STATE) { selectedDrivesPaths = s.devicePaths; } const failedDevicePaths = s.failedDeviceErrors.map( - ([devicePath]: [string]) => devicePath, + ([, { devicePath }]: [string, { devicePath: string }]) => devicePath, ); const newLedsState = { step,