allow ctrl-click of post button

This commit is contained in:
keyan 2023-06-03 17:49:04 -05:00
parent d815cae715
commit 56f08e0144
1 changed files with 3 additions and 5 deletions

View File

@ -261,11 +261,9 @@ export default function Header ({ sub }) {
const PostItem = ({ className }) => { const PostItem = ({ className }) => {
return me return me
? ( ? (
<Nav.Link eventKey='post' className={`${className}`}> <Link href={prefix + '/post'} passHref>
<Link href={prefix + '/post'} passHref> <a className={`${className} btn btn-md btn-primary px-3 py-1 `}>post</a>
<button className='btn btn-md btn-primary px-3 py-1'>post</button> </Link>)
</Link>
</Nav.Link>)
: null : null
} }