mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
prevent flicker when refreshing
This commit is contained in:
@@ -84,7 +84,6 @@ const SystemStatus = () => {
|
||||
send: loadData,
|
||||
error
|
||||
} = useRequest(readSystemStatus, {
|
||||
initialData: [],
|
||||
async middleware(_, next) {
|
||||
if (!restarting) {
|
||||
await next();
|
||||
|
||||
Reference in New Issue
Block a user