diff --git a/src/App.tsx b/src/App.tsx index 95c946c28..2096b3fc6 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -76,7 +76,13 @@ const HEADER_HEIGHT = 64; // px const CONTENT_TOP_OFFSET = DRAG_BAR_HEIGHT + HEADER_HEIGHT; const STORAGE_KEY = "cc-switch-last-app"; -const VALID_APPS: AppId[] = ["claude", "codex", "gemini", "opencode", "openclaw"]; +const VALID_APPS: AppId[] = [ + "claude", + "codex", + "gemini", + "opencode", + "openclaw", +]; const getInitialApp = (): AppId => { const saved = localStorage.getItem(STORAGE_KEY) as AppId | null; @@ -968,31 +974,7 @@ function App() { />
- - - {activeApp === "openclaw" && ( + {activeApp === "openclaw" ? ( + ) : ( + <> + + + + + )} - -