feat: add language selection feature to user profile sidebar, fixed some hover color logic for both model selector and language selection

This commit is contained in:
Anish Sarkar 2026-01-20 15:47:23 +05:30
parent a41b75463f
commit 24049345a2
9 changed files with 87 additions and 24 deletions

View file

@ -34,14 +34,12 @@ interface LayoutDataProviderProps {
searchSpaceId: string;
children: React.ReactNode;
breadcrumb?: React.ReactNode;
languageSwitcher?: React.ReactNode;
}
export function LayoutDataProvider({
searchSpaceId,
children,
breadcrumb,
languageSwitcher,
}: LayoutDataProviderProps) {
const t = useTranslations("dashboard");
const tCommon = useTranslations("common");
@ -375,7 +373,6 @@ export function LayoutDataProvider({
onLogout={handleLogout}
pageUsage={pageUsage}
breadcrumb={breadcrumb}
languageSwitcher={languageSwitcher}
theme={theme}
onToggleTheme={handleToggleTheme}
isChatPage={isChatPage}