diff --git a/ui/web/src/components/layout/sidebar.tsx b/ui/web/src/components/layout/sidebar.tsx index f8857409..c8af3a10 100644 --- a/ui/web/src/components/layout/sidebar.tsx +++ b/ui/web/src/components/layout/sidebar.tsx @@ -25,7 +25,6 @@ import { Network, Contact, KeyRound, - FileText, Building2, } from "lucide-react"; import { useTranslation } from "react-i18next"; @@ -132,7 +131,6 @@ export function Sidebar({ collapsed, onNavItemClick }: SidebarProps) { )} - )} diff --git a/ui/web/src/components/layout/topbar.tsx b/ui/web/src/components/layout/topbar.tsx index bdd06fca..1a920f23 100644 --- a/ui/web/src/components/layout/topbar.tsx +++ b/ui/web/src/components/layout/topbar.tsx @@ -1,11 +1,11 @@ -import { Moon, Sun, PanelLeftClose, PanelLeftOpen, Menu, LogOut, Bell, Globe, Clock, Building2, ChevronDown, Check, User, KeyRound } from "lucide-react"; +import { Moon, Sun, PanelLeftClose, PanelLeftOpen, Menu, LogOut, Globe, Clock, Building2, ChevronDown, Check, User, KeyRound, FileText } from "lucide-react"; import { useNavigate } from "react-router"; import { useTranslation } from "react-i18next"; import { useUiStore } from "@/stores/use-ui-store"; import { useAuthStore } from "@/stores/use-auth-store"; import { useTenants } from "@/hooks/use-tenants"; import { useIsMobile } from "@/hooks/use-media-query"; -import { usePendingPairingsCount } from "@/hooks/use-pending-pairings-count"; + import { ROUTES, SUPPORTED_LANGUAGES, LANGUAGE_LABELS, TIMEZONE_OPTIONS, LOCAL_STORAGE_KEYS, type Language } from "@/lib/constants"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"; import { Popover } from "radix-ui"; @@ -24,8 +24,6 @@ export function Topbar() { const toggleSidebar = useUiStore((s) => s.toggleSidebar); const setMobileSidebarOpen = useUiStore((s) => s.setMobileSidebarOpen); const isMobile = useIsMobile(); - const navigate = useNavigate(); - const { pendingCount } = usePendingPairingsCount({ showToast: true }); const isDark = theme === "dark" || (theme === "system" && window.matchMedia("(prefers-color-scheme: dark)").matches); @@ -52,16 +50,16 @@ export function Topbar() {
- + + {t("documents")} +