diff --git a/src/containers/Proxies/components/Proxy/index.tsx b/src/containers/Proxies/components/Proxy/index.tsx index b17dbf8..ded574b 100644 --- a/src/containers/Proxies/components/Proxy/index.tsx +++ b/src/containers/Proxies/components/Proxy/index.tsx @@ -38,7 +38,7 @@ export function Proxy (props: ProxyProps) { const validDelay = err ? 0 : delay set(draft => { - const proxy = draft.proxies.find(p => p.name === proxy) + const proxy = draft.proxies.find(p => p.name === config.name) if (proxy) { proxy.history.push({ time: Date.now().toString(), delay: validDelay }) }