From e3d44fb8ff48f05c7e52bf0b00bc2c5ef25aa14e Mon Sep 17 00:00:00 2001 From: "continue[bot]" Date: Mon, 22 Dec 2025 20:01:49 +0000 Subject: [PATCH] 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 Co-authored-by: nate --- gui/src/hooks/ParallelListeners.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/src/hooks/ParallelListeners.tsx b/gui/src/hooks/ParallelListeners.tsx index 172ab5f9d..c04ae24a0 100644 --- a/gui/src/hooks/ParallelListeners.tsx +++ b/gui/src/hooks/ParallelListeners.tsx @@ -92,7 +92,7 @@ function ParallelListeners() { setHasReasoningEnabled(supportsReasoning && !isReasoningDisabled), ); }, - [dispatch, hasDoneInitialConfigLoad], + [dispatch, hasDoneInitialConfigLoad, selectedProfileId], ); // Load config from the IDE