@tanstack/react-router 0.0.1-beta.16 → 0.0.1-beta.18
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/build/cjs/react-router/src/index.js +1 -1
- package/build/cjs/react-router/src/index.js.map +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +30 -30
- package/build/umd/index.development.js +1 -1
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +1 -1
- package/src/index.tsx +5 -5
package/package.json
CHANGED
package/src/index.tsx
CHANGED
|
@@ -391,15 +391,15 @@ export function createReactRouter<
|
|
|
391
391
|
|
|
392
392
|
invariant(
|
|
393
393
|
runtimeMatch.routeId == match?.routeId,
|
|
394
|
-
`useMatch(
|
|
394
|
+
`useMatch("${
|
|
395
395
|
match?.routeId as string
|
|
396
|
-
}
|
|
396
|
+
}") is being called in a component that is meant to render the '${
|
|
397
397
|
runtimeMatch.routeId
|
|
398
|
-
}' route. Did you mean to 'useMatch(${
|
|
398
|
+
}' route. Did you mean to 'useMatch("${
|
|
399
399
|
match?.routeId as string
|
|
400
|
-
}, { strict: false })' or 'useRoute(${
|
|
400
|
+
}", { strict: false })' or 'useRoute("${
|
|
401
401
|
match?.routeId as string
|
|
402
|
-
})' instead?`,
|
|
402
|
+
}")' instead?`,
|
|
403
403
|
)
|
|
404
404
|
}
|
|
405
405
|
|