checkpoint

This commit is contained in:
zhom
2025-08-06 20:43:14 +04:00
parent 5159f943df
commit a461fd4798
13 changed files with 301 additions and 204 deletions
+4 -1
View File
@@ -67,9 +67,12 @@ export function ProxySettingsDialog({
loadStoredProxies();
if (isProxyDisabled) {
setSelectedProxyId(null);
} else {
// Reset to initial proxy ID when dialog opens
setSelectedProxyId(initialProxyId || null);
}
}
}, [isOpen, isProxyDisabled, loadStoredProxies]);
}, [isOpen, isProxyDisabled, loadStoredProxies, initialProxyId]);
const handleCreateProxy = useCallback(() => {
setShowProxyForm(true);