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

This commit is contained in:
Julius Marminge authored and GitHub committed 2026-09-11 12:04:43 -07:00
1 parent 05d4042100
commit 2b7d3a45e6
1 file changed
+2 -4
+2 -4
View File
@@ -156,10 +156,8 @@ function SidebarProvider({
return (
<SidebarContext value={contextValue}>
<div
className={cn(
"group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar",
className,
)}
// Inset layouts opt into bg-sidebar through className.
className={cn("group/sidebar-wrapper flex min-h-svh w-full", className)}
data-sidebar-state={state}
data-slot="sidebar-wrapper"
style={