fix: add interval 10 second

This commit is contained in:
2026-01-29 16:09:06 +07:00
parent 846848383d
commit 2ce6a4ab8c

View File

@@ -59,7 +59,9 @@ export function useDevices() {
} as unknown as Device; } as unknown as Device;
} }
}, },
retry: false, // optional: biar ga retry berkali-kali retry: false,
refetchInterval: 10_000,
refetchIntervalInBackground: true,
})), })),
}); });