refactor: do not try to reuse old proxy port

This commit is contained in:
zhom
2025-08-13 16:13:47 +04:00
parent 5f93841bb7
commit e369214715
3 changed files with 132 additions and 147 deletions
+2 -2
View File
@@ -132,8 +132,8 @@ export function ProfilesDataTable({
async (profileName: string, proxyId: string | null) => {
try {
await invoke("update_profile_proxy", {
profileName: profileName,
proxy_id: proxyId,
profileName,
proxyId,
});
setProxyOverrides((prev) => ({ ...prev, [profileName]: proxyId }));
} catch (error) {