mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
remove data type
This commit is contained in:
@@ -69,11 +69,7 @@ const DownloadUpload = () => {
|
|||||||
immediate: false
|
immediate: false
|
||||||
});
|
});
|
||||||
|
|
||||||
const {
|
const { data, send: loadData, error } = useRequest(SystemApi.readSystemStatus);
|
||||||
data: data,
|
|
||||||
send: loadData,
|
|
||||||
error
|
|
||||||
} = useRequest(SystemApi.readSystemStatus);
|
|
||||||
|
|
||||||
const { send: sendUploadURL } = useRequest(
|
const { send: sendUploadURL } = useRequest(
|
||||||
(url: string) => callAction({ action: 'uploadURL', param: url }),
|
(url: string) => callAction({ action: 'uploadURL', param: url }),
|
||||||
|
|||||||
Reference in New Issue
Block a user