Skip to content

The agent that grows with you

fix(desktop): include writeScope in the voice-provider autosave effect deps

kshitijk4poor44d492b98d31
diff --git a/apps/desktop/src/app/settings/voice-provider-fields.tsx b/apps/desktop/src/app/settings/voice-provider-fields.tsx
index 7ff42c980b5..29201849bae 100644
--- a/apps/desktop/src/app/settings/voice-provider-fields.tsx
+++ b/apps/desktop/src/app/settings/voice-provider-fields.tsx
@@ -107,8 +107,8 @@ export function VoiceProviderFields({
}, 550)
return () => window.clearTimeout(timeout)
- // eslint-disable-next-line react-hooks/exhaustive-deps -- copy is stable; `profile` is keyed by scopeKey; avoid re-scheduling autosave on locale change
- }, [config, scopeKey, saveVersion, writeConfigCache])
+ // eslint-disable-next-line react-hooks/exhaustive-deps -- copy is stable; `profile`/`baseline` are keyed by scopeKey; avoid re-scheduling autosave on locale change
+ }, [config, scopeKey, saveVersion, writeConfigCache, writeScope])
// ElevenLabs cloned/library voices from the live account, when available —
// mirrors the Settings → Voice dynamic voice list.