mirror of
https://github.com/snowykami/neo-blog.git
synced 2025-09-26 11:06:23 +00:00
feat: 移除未使用的导入,优化 NavGroup 组件代码
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 18s
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 18s
This commit is contained in:
@ -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({
|
||||||
|
Reference in New Issue
Block a user