Fix failing codemod test url-to-withrouter (#42109)

This test was failing when running

```
cd ./packages/next-codemod
pnpm build
pnpm test
```
This commit is contained in:
Steven 2022-10-30 01:26:21 -04:00 committed by GitHub
parent 676be08d32
commit d651e2799a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
import { withRouter } from "next/router";
export default withRouter(class extends React.Component {
export default withRouter((class extends React.Component {
render() {
const test = this.props.router
}
});
}));