Fix typo in withRouter (#3723)

This commit is contained in:
Björn Tegelund 2018-02-07 17:09:23 +09:00 committed by Arunoda Susiripala
parent 87ab61eba5
commit de6741f886

View file

@ -11,7 +11,7 @@ export default function withRouter (ComposedComponent) {
router: PropTypes.object
}
static displayName = `withRoute(${displayName})`
static displayName = `withRouter(${displayName})`
render () {
const props = {