Fix Build
This commit is contained in:
@@ -94,14 +94,14 @@ export const Connection = ({
|
|||||||
setSerialDevices(devices);
|
setSerialDevices(devices);
|
||||||
};
|
};
|
||||||
|
|
||||||
React.useEffect(() => {
|
// React.useEffect(() => {
|
||||||
if (selectedConnType === connType.BLE) {
|
// if (selectedConnType === connType.BLE) {
|
||||||
void updateBleDeviceList();
|
// void updateBleDeviceList();
|
||||||
}
|
// }
|
||||||
if (selectedConnType === connType.SERIAL) {
|
// if (selectedConnType === connType.SERIAL) {
|
||||||
void updateSerialDeviceList();
|
// void updateSerialDeviceList();
|
||||||
}
|
// }
|
||||||
}, [selectedConnType]);
|
// }, [selectedConnType]);
|
||||||
|
|
||||||
const onSubmit = handleSubmit((data) => {
|
const onSubmit = handleSubmit((data) => {
|
||||||
// void connection.setOwner(data);
|
// void connection.setOwner(data);
|
||||||
|
|||||||
Reference in New Issue
Block a user