mirror of
https://github.com/meshtastic/web.git
synced 2026-05-06 05:36:50 -04:00
Fix Build
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user