Skip to content

Commit

Permalink
refactor: remove unused nav link class names (#4010)
Browse files Browse the repository at this point in the history
  • Loading branch information
sissbruecker authored Dec 17, 2024
1 parent 73e98f5 commit e38f9f9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions articles/hilla/guides/routing.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e38f9f9

Please sign in to comment.