@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 CHANGED
@@ -16,7 +16,7 @@
16
16
  ]
17
17
  },
18
18
  "name": "@kaspernj/api-maker",
19
- "version": "1.0.161",
19
+ "version": "1.0.165",
20
20
  "description": "",
21
21
  "main": "index.js",
22
22
  "repository": {
@@ -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.params
121
+ params: matchingRoute?.params
122
122
  }
123
123
 
124
124
  return (