Polling 30 -> 20 seconds

This commit is contained in:
Kalle
2022-02-27 10:55:00 +02:00
parent 244f6aab8a
commit 2b0bdf9d92

View File

@@ -107,7 +107,7 @@ export function usePolling(pollingActive = true) {
const data = useLoaderData<unknown>();
const navigate = useNavigate();
const INTERVAL = 30_000; // 30 seconds
const INTERVAL = 20_000; // 20 seconds
React.useEffect(() => {
if (!pollingActive) return;