From e38f9f9859546a8b321c0178b98ffa1a3a5fa201 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sascha=20I=C3=9Fbr=C3=BCcker?= Date: Tue, 17 Dec 2024 07:43:44 +0100 Subject: [PATCH] refactor: remove unused nav link class names (#4010) --- articles/hilla/guides/routing.adoc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/articles/hilla/guides/routing.adoc b/articles/hilla/guides/routing.adoc index 55e86b7ba3..ff6f4c99b7 100644 --- a/articles/hilla/guides/routing.adoc +++ b/articles/hilla/guides/routing.adoc @@ -171,10 +171,6 @@ import { SideNav } from '@vaadin/react-components/SideNav.js'; import { SideNavItem } from '@vaadin/react-components/SideNavItem.js'; import { Outlet, useNavigate, useLocation } from 'react-router-dom'; -const navLinkClasses = ({ isActive }: any) => { - return `block rounded-m p-s ${isActive ? 'bg-primary-10 text-primary' : 'text-body'}`; -}; - export default function MainMenu() { const navigate = useNavigate(); const location = useLocation();