allow ctrl-click of post button
This commit is contained in:
parent
d815cae715
commit
56f08e0144
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue