diff --git a/src/store/proxies.tsx b/src/store/proxies.tsx index 71d2325..e15d29a 100644 --- a/src/store/proxies.tsx +++ b/src/store/proxies.tsx @@ -112,7 +112,7 @@ export function fetchProxies(apiConfig: APIConfig) { const name = proxyNames[i]; const { history } = proxies[name] || { history: [] }; const h = history[history.length - 1]; - if (h && h.delay) { + if (h && typeof h.delay === 'number') { delayNext[name] = { number: h.delay }; } }