diff --git a/client/src/components/layout/Sidebar.tsx b/client/src/components/layout/Sidebar.tsx index dc8db0b..c5dbd05 100644 --- a/client/src/components/layout/Sidebar.tsx +++ b/client/src/components/layout/Sidebar.tsx @@ -103,6 +103,10 @@ const adminNavigation = [ export default function Sidebar({ className }: SidebarProps) { const [location] = useLocation(); const { user } = useAuth(); + const { t } = useTranslation(); + + const navigation = getNavigation(t); + const managementNavigation = getManagementNavigation(t); const isActive = (href: string) => { if (href === "/dashboard") { @@ -122,7 +126,7 @@ export default function Sidebar({ className }: SidebarProps) {