import { withRouter } from 'next/router' const Link = withRouter(({ router, children, href }) => { const handleClick = e => { e.preventDefault() router.push(href) } return (
This is the about page.