From 52a402922c588bcc6a74fff8747232e6bb82f8c0 Mon Sep 17 00:00:00 2001 From: Cyrus Gray <144336577+graycyrus@users.noreply.github.com> Date: Fri, 19 Jun 2026 17:30:08 +0530 Subject: [PATCH] chore(shell): remove the language picker from the sidebar header (#3810) --- .../components/layout/shell/SidebarHeader.tsx | 39 +------------------ 1 file changed, 2 insertions(+), 37 deletions(-) diff --git a/app/src/components/layout/shell/SidebarHeader.tsx b/app/src/components/layout/shell/SidebarHeader.tsx index b3c9a8aff..c5901588b 100644 --- a/app/src/components/layout/shell/SidebarHeader.tsx +++ b/app/src/components/layout/shell/SidebarHeader.tsx @@ -1,10 +1,6 @@ import { useNavigate } from 'react-router-dom'; import { useT } from '../../../lib/i18n/I18nContext'; -import type { Locale } from '../../../lib/i18n/types'; -import { useAppDispatch, useAppSelector } from '../../../store/hooks'; -import { setLocale } from '../../../store/localeSlice'; -import { LOCALE_OPTIONS } from '../../LanguageSelect'; import { useRootSidebar } from './RootShellLayout'; import { useHomeNav } from './useHomeNav'; @@ -12,17 +8,13 @@ const ICON_BTN = 'flex h-7 w-7 flex-none items-center justify-center rounded-md text-stone-500 transition-colors hover:bg-stone-100 hover:text-stone-700 dark:text-neutral-400 dark:hover:bg-neutral-800/60 dark:hover:text-neutral-200'; /** - * Thin utility header at the top of the root sidebar: collapse the sidebar, - * jump to Settings, and switch language. The language control is a globe icon - * with a transparent native to the icon box: a select won't shrink below - its longest option's width, so without clipping it spills to the right - and steals clicks from the Settings / collapse buttons. */} - -