Skip to content

Commit 7b92687

Browse files
committed
Oops
1 parent 370a15c commit 7b92687

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/stores/FlashManagersStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export const FlashManagerStore = {
5757
};
5858

5959
export function initializeFlashManagersStore() {
60-
if (isSerialSupported) return;
60+
if (!isSerialSupported) return;
6161

6262
navigator.serial.addEventListener('disconnect', (e) => removePort(e.target as SerialPort));
6363
}

0 commit comments

Comments
 (0)