From f245b8d72d0f1fe3399b19ecd9c02644a91137a0 Mon Sep 17 00:00:00 2001 From: andrzej Date: Mon, 24 Jun 2024 11:55:31 +0200 Subject: [PATCH] merge navlinks styling --- src/app/ui/navLinks.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/app/ui/navLinks.tsx b/src/app/ui/navLinks.tsx index 8c78d90..33be4c0 100644 --- a/src/app/ui/navLinks.tsx +++ b/src/app/ui/navLinks.tsx @@ -3,6 +3,7 @@ import Link from "next/link"; import { usePathname } from "next/navigation"; import { ComponentProps } from "react"; import clsx from "clsx"; +import { twMerge } from "tailwind-merge"; function NavLink(props: ComponentProps<"div"> & { href: string }) { @@ -22,12 +23,12 @@ export default function Navlinks(props: ComponentProps<"div">) {
{ links.map(e => ({e.label})) + ))} + >

{e.label}

)) }