Change to list items

This commit is contained in:
G.Ambatte committed 2024-08-26 21:26:30 +12:00
1 parent b0585e28ad
commit 708cbdc9e5
1 file changed
+2 -2
@@ -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;