mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
merging to sync - still need to fix system.ts
This commit is contained in:
@@ -64,16 +64,13 @@ const DashboardDevices: FC = () => {
|
||||
initialData: {
|
||||
connected: true,
|
||||
devices: []
|
||||
},
|
||||
force: true,
|
||||
immediate: true
|
||||
}
|
||||
});
|
||||
|
||||
const { data: deviceData, send: readDeviceData } = useRequest((id) => EMSESP.readDeviceData(id), {
|
||||
initialData: {
|
||||
data: []
|
||||
},
|
||||
force: true,
|
||||
immediate: false
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user