optimize endpoints, so re-use where possible

This commit is contained in:
proddy
2024-09-13 10:03:11 +02:00
parent 63a3152b91
commit 191edffe3c
23 changed files with 192 additions and 428 deletions

View File

@@ -36,7 +36,7 @@ const HardwareStatus = () => {
data: data,
send: loadData,
error
} = useAutoRequest(SystemApi.readHardwareStatus, { pollingTime: 2000 });
} = useAutoRequest(SystemApi.readSystemStatus, { pollingTime: 2000 });
const content = () => {
if (!data) {