fix nested anchor in navbar error
This commit is contained in:
parent
03723bd5ee
commit
a714a13029
|
@ -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
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue