diff --git a/ui/web/src/components/layout/topbar.tsx b/ui/web/src/components/layout/topbar.tsx index 34cd2312..d4ae42fb 100644 --- a/ui/web/src/components/layout/topbar.tsx +++ b/ui/web/src/components/layout/topbar.tsx @@ -6,6 +6,7 @@ import { useAuthStore } from "@/stores/use-auth-store"; import { useIsMobile } from "@/hooks/use-media-query"; import { usePendingPairingsCount } from "@/hooks/use-pending-pairings-count"; import { ROUTES, SUPPORTED_LANGUAGES, LANGUAGE_LABELS, TIMEZONE_OPTIONS, type Language } from "@/lib/constants"; +import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"; export function Topbar() { const { t } = useTranslation("topbar"); @@ -29,10 +30,6 @@ export function Topbar() { ? () => setMobileSidebarOpen(true) : toggleSidebar; - const handleLanguageChange = (e: React.ChangeEvent) => { - setLanguage(e.target.value as Language); - }; - return (
@@ -63,31 +60,35 @@ export function Topbar() { )} -
- - -
+ + -
- - + + + + + {TIMEZONE_OPTIONS.map((tz) => ( - + {tz.label} ))} - -
+ +