We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03294bb commit a779d83Copy full SHA for a779d83
lib/router/with-router.js
@@ -3,7 +3,7 @@ import PropTypes from 'prop-types'
3
import hoistStatics from 'hoist-non-react-statics'
4
import { getDisplayName } from '../utils'
5
6
-export default function withRoute (ComposedComponent) {
+export default function withRouter (ComposedComponent) {
7
const displayName = getDisplayName(ComposedComponent)
8
9
class WithRouteWrapper extends Component {
0 commit comments