fix nested anchor in navbar error

This commit is contained in:
keyan 2022-08-18 16:19:37 -05:00
parent 03723bd5ee
commit a714a13029
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ export default function Header ({ sub }) {
<NavDropdown <NavDropdown
className={styles.dropdown} title={ className={styles.dropdown} title={
<Link href={`/${me?.name}`} passHref> <Link href={`/${me?.name}`} passHref>
<Nav.Link className='p-0' onClick={e => e.preventDefault()}>{`@${me?.name}`}</Nav.Link> <Nav.Link as='div' className='p-0' onClick={e => e.preventDefault()}>{`@${me?.name}`}</Nav.Link>
</Link> </Link>
} alignRight } alignRight
> >