@kaspernj/api-maker 1.0.161 → 1.0.165
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/with-router.jsx +1 -1
package/package.json
CHANGED
package/src/with-router.jsx
CHANGED
|
@@ -118,7 +118,7 @@ export default (WrapperComponent) => class WithRouter extends React.Component {
|
|
|
118
118
|
const matchingRoute = this.findMatchingRoute()
|
|
119
119
|
const match = {
|
|
120
120
|
matchingRoute,
|
|
121
|
-
params: matchingRoute
|
|
121
|
+
params: matchingRoute?.params
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
return (
|