mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Fix typo in withRouter (#3723)
This commit is contained in:
parent
87ab61eba5
commit
de6741f886
|
@ -11,7 +11,7 @@ export default function withRouter (ComposedComponent) {
|
|||
router: PropTypes.object
|
||||
}
|
||||
|
||||
static displayName = `withRoute(${displayName})`
|
||||
static displayName = `withRouter(${displayName})`
|
||||
|
||||
render () {
|
||||
const props = {
|
||||
|
|
Loading…
Reference in a new issue