diff --git a/dashboard/starter-example/app/ui/dashboard/nav-links.tsx b/dashboard/starter-example/app/ui/dashboard/nav-links.tsx index 338b1c5..f2a67eb 100644 --- a/dashboard/starter-example/app/ui/dashboard/nav-links.tsx +++ b/dashboard/starter-example/app/ui/dashboard/nav-links.tsx @@ -1,12 +1,8 @@ -'use client'; - import { UserGroupIcon, HomeIcon, DocumentDuplicateIcon, } from '@heroicons/react/24/outline'; -import Link from 'next/link'; -import { usePathname } from 'next/navigation'; import clsx from 'clsx'; // Map of links to display in the side navigation. @@ -22,26 +18,21 @@ const links = [ ]; export default function NavLinks() { - const pathname = usePathname(); - return ( <> {links.map((link) => { const LinkIcon = link.icon; return ( -

{link.name}

- + ); })}