summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/proxies/ProxyGroup.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/proxies/ProxyGroup.tsx b/src/components/proxies/ProxyGroup.tsx
index 37823db..ad39fb8 100644
--- a/src/components/proxies/ProxyGroup.tsx
+++ b/src/components/proxies/ProxyGroup.tsx
@@ -55,7 +55,7 @@ function ProxyGroupImpl({
const {
app: { updateCollapsibleIsOpen },
- // proxies: { requestDelayForProxyGroup },
+ proxies: { requestDelayForProxies },
} = useStoreActions();
const toggle = useCallback(() => {
@@ -74,10 +74,10 @@ function ProxyGroupImpl({
setIsTestingLatency(true);
try {
if (version.meta==true){
- await proxiesAPI.requestDelayForProxyGroup(apiConfig,name);
+ await proxiesAPI.requestDelayForProxyGroup(apiConfig, name);
await dispatch(fetchProxies(apiConfig));}
else{
- await proxiesAPI.requestDelayForProxy(apiConfig,all);
+ await requestDelayForProxies(apiConfig, all);
await dispatch(fetchProxies(apiConfig));
}
}