diff --git a/src/pages/settings/Connection.tsx b/src/pages/settings/Connection.tsx index 491a15aa..d396bf38 100644 --- a/src/pages/settings/Connection.tsx +++ b/src/pages/settings/Connection.tsx @@ -94,14 +94,14 @@ export const Connection = ({ setSerialDevices(devices); }; - React.useEffect(() => { - if (selectedConnType === connType.BLE) { - void updateBleDeviceList(); - } - if (selectedConnType === connType.SERIAL) { - void updateSerialDeviceList(); - } - }, [selectedConnType]); + // React.useEffect(() => { + // if (selectedConnType === connType.BLE) { + // void updateBleDeviceList(); + // } + // if (selectedConnType === connType.SERIAL) { + // void updateSerialDeviceList(); + // } + // }, [selectedConnType]); const onSubmit = handleSubmit((data) => { // void connection.setOwner(data);