diff --git a/components/dashboard/DashboardNav.tsx b/components/dashboard/DashboardNav.tsx index b8bdcce7..5de1e539 100644 --- a/components/dashboard/DashboardNav.tsx +++ b/components/dashboard/DashboardNav.tsx @@ -1,7 +1,7 @@ 'use client' import { useEffect, useState, useRef } from 'react' -import Link from 'next/link' +import { NavLink } from './NavLink' import Image from 'next/image' import { usePathname, useRouter } from 'next/navigation' import { useTranslations } from 'next-intl' @@ -605,9 +605,9 @@ export default function DashboardNav({ companyName: _companyName, entityType, pa : 'text-muted-foreground/40 cursor-not-allowed', ) return enabled ? ( - + {content} - + ) : (
+ {inner} - + ) : (
{inner} @@ -712,7 +712,7 @@ export default function DashboardNav({ companyName: _companyName, entityType, pa : 'justify-between pl-5 pr-3', )} > - - +