diff --git a/components/layout/sidebar.tsx b/components/layout/sidebar.tsx index 0b395750..f397a9ae 100644 --- a/components/layout/sidebar.tsx +++ b/components/layout/sidebar.tsx @@ -930,32 +930,35 @@ export function Sidebar({ className )} > - {/* Header */} -
- + {/* Header — hidden in the Pro shell, which owns its own chrome and + would otherwise render an empty strip (no collapse, no switcher). */} + {!isEmbedded && ( +
+ - + - {!isCollapsed && !hideAccountSwitcher && ( - - )} -
+ {!isCollapsed && !hideAccountSwitcher && ( + + )} +
+ )} {!isCollapsed && } {!isCollapsed && }