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:
parent
32c6aeb70f
commit
e3d44fb8ff
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ function ParallelListeners() {
|
|||
setHasReasoningEnabled(supportsReasoning && !isReasoningDisabled),
|
||||
);
|
||||
},
|
||||
[dispatch, hasDoneInitialConfigLoad],
|
||||
[dispatch, hasDoneInitialConfigLoad, selectedProfileId],
|
||||
);
|
||||
|
||||
// Load config from the IDE
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue