We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ece8d3d commit 3ef6793Copy full SHA for 3ef6793
packages/router/src/experimental/route-resolver/resolver-fixed.ts
@@ -176,7 +176,7 @@ export function createFixedResolver<
176
// relative location by path or by name
177
if (__DEV__ && to.name == null && currentLocation == null) {
178
warn(
179
- `Cannot resolve relative location "${JSON.stringify(to)}"without a current location. This will throw in production.`,
+ `Cannot resolve relative location "${JSON.stringify(to)}"without a "name" or a current location. This will crash in production.`,
180
to
181
)
182
// NOTE: normally there is no query, hash or path but this helps debug
0 commit comments