diff --git a/adminfront/src/components/layout/AppLayout.tsx b/adminfront/src/components/layout/AppLayout.tsx index 7b541c4f..9f42e384 100644 --- a/adminfront/src/components/layout/AppLayout.tsx +++ b/adminfront/src/components/layout/AppLayout.tsx @@ -27,7 +27,14 @@ import { import LanguageSelector from "../common/LanguageSelector"; import RoleSwitcher from "./RoleSwitcher"; -const staticNavItems = [ +interface NavItem { + label: string; + to: string; + icon: React.ComponentType<{ size?: number | string }>; + isExternal?: boolean; +} + +const staticNavItems: NavItem[] = [ { label: "ui.admin.nav.overview", to: "/", icon: LayoutDashboard }, { label: "ui.admin.nav.users", to: "/users", icon: Users }, { label: "ui.admin.nav.api_keys", to: "/api-keys", icon: Key }, @@ -443,9 +450,8 @@ function AppLayout() {