feat: 移除未使用的导入,优化 NavGroup 组件代码
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 18s

This commit is contained in:
2025-09-25 15:50:57 +08:00
parent 6641d78fb6
commit e6e7ee64a2

View File

@ -9,9 +9,7 @@ import {
SidebarMenuItem, SidebarMenuItem,
} from "@/components/ui/sidebar" } from "@/components/ui/sidebar"
import Link from "next/link" import Link from "next/link"
import { usePathname } from "next/navigation";
import { useAuth } from "@/contexts/auth-context"; import { useAuth } from "@/contexts/auth-context";
import { consolePath } from "@/hooks/use-route";
import { SidebarItem } from "./data"; import { SidebarItem } from "./data";
export function NavGroup({ export function NavGroup({