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 077ff52 commit 76f5972Copy full SHA for 76f5972
packages/react-router/src/router.ts
@@ -1491,7 +1491,8 @@ export class Router<
1491
)
1492
let pathname: string
1493
if (dest.to) {
1494
- const resolvePathTo = fromMatch?.fullPath || this.latestLocation.pathname
+ const resolvePathTo =
1495
+ fromMatch?.fullPath || this.latestLocation.pathname
1496
pathname = this.resolvePathWithBase(resolvePathTo, `${dest.to}`)
1497
} else {
1498
const fromRouteByFromPathRouteId =
0 commit comments