From 0974b9d146ec20c34fdf79d522ecf42ff8c0373a Mon Sep 17 00:00:00 2001 From: lianahus Date: Tue, 22 Oct 2024 13:30:41 +0200 Subject: [PATCH] smaller nav tbns --- apps/contract-verification/src/app/components/NavMenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/contract-verification/src/app/components/NavMenu.tsx b/apps/contract-verification/src/app/components/NavMenu.tsx index 8cc9099ca9..0c88fc86a2 100644 --- a/apps/contract-verification/src/app/components/NavMenu.tsx +++ b/apps/contract-verification/src/app/components/NavMenu.tsx @@ -11,7 +11,7 @@ const NavItem: React.FC = ({ to, icon, title }) => { return ( 'text-decoration-none d-flex flex-column justify-content-center py-2 px-2 small ' + (isActive ? 'bg-transparent' : 'bg-dark')} + className={({ isActive }) => 'text-decoration-none d-flex flex-column justify-content-center py-2 small ' + (isActive ? 'bg-transparent' : 'bg-dark')} > {icon}