+
+
{navItems.map((item, index) => (
window.scrollTo(0, 0)}
className={cn(
"relative px-3 py-1.5 text-sm whitespace-nowrap transition-colors rounded-md",
isActive(item.href)
@@ -67,17 +89,6 @@ export function TopNav() {
: "text-muted-foreground hover:text-foreground"
)}
>
- {isActive(item.href) && (
-
- )}
{item.title}