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 e5ea81e commit aff2165Copy full SHA for aff2165
packages/router/src/experimental/router.ts
@@ -870,7 +870,7 @@ export function experimental_createRouter(
870
return pushWithRedirect(
871
{
872
// @ts-expect-error: FIXME: refactor location types
873
- ...resolve(shouldRedirect, currentRoute.value),
+ ...resolve(failure.to, currentRoute.value),
874
state:
875
typeof failure.to === 'object'
876
? assign({}, data, failure.to.state)
0 commit comments