Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(layout): restore missing closing tag in RootShellLayout

Steven Enamakele7dc1140e2ae
diff --git a/app/src/components/layout/shell/RootShellLayout.tsx b/app/src/components/layout/shell/RootShellLayout.tsx
index d438f12f38..583aba61a4 100644
--- a/app/src/components/layout/shell/RootShellLayout.tsx
+++ b/app/src/components/layout/shell/RootShellLayout.tsx
@@ -141,7 +141,10 @@ export default function RootShellLayout({ sidebar, children, unframed }: RootShe
);
const handleOpenChange = useCallback(
- (next: boolean) => dispatch(setSidebarVisible({ id: LAYOUT_ID, visible: next })),
+ (next: boolean) => {
+ log('sidebar open change: %s', next ? 'expanded' : 'collapsed');
+ dispatch(setSidebarVisible({ id: LAYOUT_ID, visible: next }));
+ },
[dispatch]
);