mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
comments
This commit is contained in:
@@ -40,7 +40,7 @@ const Settings = () => {
|
|||||||
immediate: false
|
immediate: false
|
||||||
});
|
});
|
||||||
|
|
||||||
// get installed version
|
// call checkUpgrade with no param to fetch EMS-ESP version
|
||||||
const { data } = useRequest(() => callAction({ action: 'checkUpgrade' }), {
|
const { data } = useRequest(() => callAction({ action: 'checkUpgrade' }), {
|
||||||
initialData: { emsesp_version: '...' }
|
initialData: { emsesp_version: '...' }
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user