Fix Build

This commit is contained in:
Sacha Weatherstone
2021-11-09 22:59:03 +11:00
parent 38c27da898
commit 85fd796322

View File

@@ -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);