Added <li> (#2928)

This commit is contained in:
Erik Jan de Wit 2022-07-06 14:22:52 +02:00 committed by GitHub
parent d8d55fe391
commit a7694b8945
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,6 +54,7 @@ export const PageNav: React.FunctionComponent = () => {
//remove "/realm-name" from the start of the path //remove "/realm-name" from the start of the path
const activeItem = history.location.pathname.substring(realm.length + 1); const activeItem = history.location.pathname.substring(realm.length + 1);
return ( return (
<li>
<NavLink <NavLink
id={"nav-item" + path.replace("/", "-")} id={"nav-item" + path.replace("/", "-")}
to={`/${realm}${path}`} to={`/${realm}${path}`}
@ -65,6 +66,7 @@ export const PageNav: React.FunctionComponent = () => {
> >
{t(title)} {t(title)}
</NavLink> </NavLink>
</li>
); );
}; };