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:
@@ -92,7 +92,7 @@ function ParallelListeners() {
|
||||
setHasReasoningEnabled(supportsReasoning && !isReasoningDisabled),
|
||||
);
|
||||
},
|
||||
[dispatch, hasDoneInitialConfigLoad],
|
||||
[dispatch, hasDoneInitialConfigLoad, selectedProfileId],
|
||||
);
|
||||
|
||||
// Load config from the IDE
|
||||
|
||||
Reference in New Issue
Block a user