We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73e98f5 commit e38f9f9Copy full SHA for e38f9f9
articles/hilla/guides/routing.adoc
@@ -171,10 +171,6 @@ import { SideNav } from '@vaadin/react-components/SideNav.js';
171
import { SideNavItem } from '@vaadin/react-components/SideNavItem.js';
172
import { Outlet, useNavigate, useLocation } from 'react-router-dom';
173
174
-const navLinkClasses = ({ isActive }: any) => {
175
- return `block rounded-m p-s ${isActive ? 'bg-primary-10 text-primary' : 'text-body'}`;
176
-};
177
-
178
export default function MainMenu() {
179
const navigate = useNavigate();
180
const location = useLocation();
0 commit comments