perf(web): avoid scanning chat history for sidebar backgrounds (#11206)
This commit is contained in:
1 parent
05d4042100
commit
2b7d3a45e6
1 file changed
+2
-4
@@ -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={
|
||||
|
||||
Reference in new issue
Block a user