mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-06-30 22:46:39 -04:00
fix missing title attribute on icon-only menu links
This commit is contained in:
@ -70,7 +70,7 @@ const MenuItem = ({ icon: ItemIcon, href, text, current, className }: MenuItemPr
|
||||
if (href) {
|
||||
return (
|
||||
<NextLink href={href} prefetch={false} passHref={true}>
|
||||
<Link className={className} current={current}>
|
||||
<Link className={className} current={current} title={text} aria-label={text}>
|
||||
{linkContent}
|
||||
</Link>
|
||||
</NextLink>
|
||||
|
Reference in New Issue
Block a user