feat: move share index to public route
This commit is contained in:
@@ -21,7 +21,6 @@ import {
|
||||
LayoutDashboard,
|
||||
LucideIcon,
|
||||
Server,
|
||||
Share2,
|
||||
Upload,
|
||||
} from "lucide-react";
|
||||
import { ThemeToggle } from "@/components/theme-toggle";
|
||||
@@ -48,12 +47,6 @@ const NAV_ITEMS: NavItem[] = [
|
||||
icon: ClipboardList,
|
||||
isActive: (pathname) => pathname === "/admin/form",
|
||||
},
|
||||
{
|
||||
href: "/admin/share",
|
||||
label: "Share",
|
||||
icon: Share2,
|
||||
isActive: (pathname) => pathname.startsWith("/admin/share"),
|
||||
},
|
||||
{
|
||||
href: "/admin/backend",
|
||||
label: "Backend",
|
||||
|
||||
Reference in New Issue
Block a user