diff --git a/src/components/layout/nav-hamburger.tsx b/src/components/layout/nav-hamburger.tsx index 1486c73..2c0009c 100644 --- a/src/components/layout/nav-hamburger.tsx +++ b/src/components/layout/nav-hamburger.tsx @@ -12,34 +12,29 @@ export default function NavigationMenuHamburger() { }; const [activeLink, setActiveLink] = useState(null); return ( -
+
setActiveLink(item.id)} - className={`block px-6 py-2 text-xl text-sky-900 ${ - item.id === activeLink ? "underline" : "" - }`} + className={`block px-6 py-2 text-xl text-sky-900 ${item.id === activeLink ? "underline" : "" + }`} > {item.title}