diff --git a/frontend-web/src/App.tsx b/frontend-web/src/App.tsx index c1122c19..66fda5ba 100644 --- a/frontend-web/src/App.tsx +++ b/frontend-web/src/App.tsx @@ -5,6 +5,8 @@ import { ThemeProvider as NextThemesProvider } from "next-themes"; import { QueryClientProvider } from "@/components/query-client-provider"; import { I18nProvider } from "@/core/i18n/context"; import { detectLocale } from "@/core/i18n/locale"; +import { ChatProvider } from "@/contexts/ChatContext"; +import { ThemeProvider } from "@/contexts/ThemeContext"; import { HashRouter, useLocation } from "react-router-dom"; @@ -26,7 +28,11 @@ function AppProviders({ children }: { children: React.ReactNode }) { forcedTheme={forcedTheme} > - {children} + + + {children} + + ); diff --git a/frontend-web/src/components/ui/sidebar.tsx b/frontend-web/src/components/ui/sidebar.tsx index c62bf163..2e6d3ca1 100644 --- a/frontend-web/src/components/ui/sidebar.tsx +++ b/frontend-web/src/components/ui/sidebar.tsx @@ -139,7 +139,7 @@ function SidebarProvider({ } as React.CSSProperties } className={cn( - "group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full", + "group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex h-full w-full", className, )} {...props} @@ -229,7 +229,7 @@ function Sidebar({