Fix scope switching to reflect changes without reload

- Added selectedProfileId to useCallback dependencies in handleConfigUpdate
- This ensures the callback properly detects profile changes and triggers necessary UI updates
- Fixes issue where switching profiles/orgs required manual reload to see changes

fixes CON-5093

Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <noreply@continue.dev>
Co-authored-by: nate <nate@continue.dev>
This commit is contained in:
continue[bot]
2025-12-22 20:01:49 +00:00
parent 32c6aeb70f
commit e3d44fb8ff

View File

@@ -92,7 +92,7 @@ function ParallelListeners() {
setHasReasoningEnabled(supportsReasoning && !isReasoningDisabled),
);
},
[dispatch, hasDoneInitialConfigLoad],
[dispatch, hasDoneInitialConfigLoad, selectedProfileId],
);
// Load config from the IDE