Skip to content

Commit e38f9f9

Browse files
authored
refactor: remove unused nav link class names (#4010)
1 parent 73e98f5 commit e38f9f9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

articles/hilla/guides/routing.adoc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,6 @@ import { SideNav } from '@vaadin/react-components/SideNav.js';
171171
import { SideNavItem } from '@vaadin/react-components/SideNavItem.js';
172172
import { Outlet, useNavigate, useLocation } from 'react-router-dom';
173173
174-
const navLinkClasses = ({ isActive }: any) => {
175-
return `block rounded-m p-s ${isActive ? 'bg-primary-10 text-primary' : 'text-body'}`;
176-
};
177-
178174
export default function MainMenu() {
179175
const navigate = useNavigate();
180176
const location = useLocation();

0 commit comments

Comments
 (0)