Added <li>
(#2928)
This commit is contained in:
parent
d8d55fe391
commit
a7694b8945
1 changed files with 13 additions and 11 deletions
|
@ -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>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue