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 fc2107e commit f1c2b32Copy full SHA for f1c2b32
packages/router/src/experimental/route-resolver/resolver-dynamic.ts
@@ -110,7 +110,7 @@ export function createCompiledMatcher<
110
if (typeof to === 'object' && (to.name || to.path == null)) {
111
// relative location or by name
112
if (__DEV__ && to.name == null && currentLocation == null) {
113
- console.warn(
+ warn(
114
`Cannot resolve an unnamed relative location without a current location. This will throw in production.`,
115
to
116
)
0 commit comments