nym dropdown is also a link to the user
This commit is contained in:
parent
f6ceda79d6
commit
0c95794d74
|
@ -62,7 +62,7 @@ export default function Header ({ sub }) {
|
|||
</Nav.Link>
|
||||
</Link>
|
||||
<div className='position-relative'>
|
||||
<NavDropdown className={styles.dropdown} title={`@${me?.name}`} alignRight>
|
||||
<NavDropdown className={styles.dropdown} title={<Link href={`/${me?.name}`} passHref><Nav.Link onClick={e => e.preventDefault()}>{`@${me?.name}`}</Nav.Link></Link>} alignRight>
|
||||
<Link href={'/' + me?.name} passHref>
|
||||
<NavDropdown.Item>
|
||||
profile
|
||||
|
|
Loading…
Reference in New Issue