@devries-cameron20 / t3code Mirror · read-only / commits / 2b7d3a45e6
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 24, 02:45 UTC

perf(web): avoid scanning chat history for sidebar backgrounds (#11206)

Julius Marminge committed Sep 11, 2026 at 12:04 UTC 2b7d3a45e6ee9454e4dd46aaf0276ca05d8555d3
1 file changed +2 -4
apps/web/src/components/ui/sidebar.tsx
+2 -4
@@ -156,10 +156,8 @@ function SidebarProvider({
156 return (
157 <SidebarContext value={contextValue}>
158 <div
159 - className={cn(
160 - "group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar",
161 - className,
162 - )}
159 + // Inset layouts opt into bg-sidebar through className.
160 + className={cn("group/sidebar-wrapper flex min-h-svh w-full", className)}
161 data-sidebar-state={state}
162 data-slot="sidebar-wrapper"
163 style={