fix: broken route links — dispute notification, chat hardcoding, dead sidebar link

This commit is contained in:
zetaloop
2026-02-20 17:41:02 +08:00
parent 5b21793ede
commit 3fdd917672
4 changed files with 19 additions and 23 deletions
+1 -10
View File
@@ -1,14 +1,6 @@
"use client"
import {
Gamepad2,
LayoutDashboard,
ListOrdered,
Palette,
Settings2,
Store,
Users,
} from "lucide-react"
import { Gamepad2, LayoutDashboard, ListOrdered, Palette, Store, Users } from "lucide-react"
import Link from "next/link"
import { usePathname } from "next/navigation"
import { cn } from "@/lib/utils"
@@ -25,7 +17,6 @@ const ownerLinks = [
{ href: "/dashboard/shop", label: "店铺管理", icon: Store },
{ href: "/dashboard/shop/employees", label: "员工管理", icon: Users },
{ href: "/dashboard/shop/templates", label: "模板编辑", icon: Palette },
{ href: "/dashboard/settings", label: "店铺设置", icon: Settings2 },
]
export function DashboardSidebar() {