We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 370a15c commit 7b92687Copy full SHA for 7b92687
1 file changed
src/lib/stores/FlashManagersStore.ts
@@ -57,7 +57,7 @@ export const FlashManagerStore = {
57
};
58
59
export function initializeFlashManagersStore() {
60
- if (isSerialSupported) return;
+ if (!isSerialSupported) return;
61
62
navigator.serial.addEventListener('disconnect', (e) => removePort(e.target as SerialPort));
63
}
0 commit comments