mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
23 lines
523 B
JavaScript
23 lines
523 B
JavaScript
import { withRouter } from "next/router";
|
|
|
|
export default withRouter(withAppContainer(withAuth(
|
|
class BuyDomains extends React.Component {
|
|
render() {
|
|
const { router } = this.props
|
|
|
|
return (
|
|
<Page>
|
|
<Header
|
|
user={user}
|
|
pathname={router.pathname}
|
|
onLogout={() => {
|
|
onUser(null)
|
|
router.push('/login')
|
|
}}
|
|
onLogoRightClick={() => router.push('/logos')}
|
|
/>
|
|
</Page>
|
|
);
|
|
}
|
|
}
|
|
))); |