From 2ba7200f37c19fd559cce7b3688d63d40959f6a7 Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Thu, 10 Apr 2025 23:44:38 -0400 Subject: [PATCH] Fix discard changes in settings (#2485) --- webview-ui/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webview-ui/src/App.tsx b/webview-ui/src/App.tsx index b6ddc1883e..2bf0a0afd6 100644 --- a/webview-ui/src/App.tsx +++ b/webview-ui/src/App.tsx @@ -111,7 +111,7 @@ const App = () => { {tab === "mcp" && switchTab("chat")} />} {tab === "history" && switchTab("chat")} />} {tab === "settings" && ( - switchTab("chat")} targetSection={currentSection} /> + setTab("chat")} targetSection={currentSection} /> )}