0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-26 00:52:48 +00:00

Change to list items

This commit is contained in:
G.Ambatte
2024-08-26 21:26:30 +12:00
parent b0585e28ad
commit 708cbdc9e5

View File

@@ -66,11 +66,11 @@ const HeaderNav = React.forwardRef(({}, pagesRef)=>{
);
const HeaderNavItem = ({ link, text, depth, className })=>{
return <p>
return <li>
<a href={`#${link}`} target='_self' className={className}>
{`${'-'.repeat(depth)}${text}`}
</a>
</p>;
</li>;
};
export default HeaderNav;