mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
This test was failing when running ``` cd ./packages/next-codemod pnpm build pnpm test ```
8 lines
159 B
JavaScript
8 lines
159 B
JavaScript
import { withRouter } from "next/router";
|
|
|
|
export default withRouter((class extends React.Component {
|
|
render() {
|
|
const test = this.props.router
|
|
}
|
|
}));
|