Skip to content

Commit 76f5972

Browse files
ci: apply automated fixes
1 parent 077ff52 commit 76f5972

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/react-router/src/router.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1491,7 +1491,8 @@ export class Router<
14911491
)
14921492
let pathname: string
14931493
if (dest.to) {
1494-
const resolvePathTo = fromMatch?.fullPath || this.latestLocation.pathname
1494+
const resolvePathTo =
1495+
fromMatch?.fullPath || this.latestLocation.pathname
14951496
pathname = this.resolvePathWithBase(resolvePathTo, `${dest.to}`)
14961497
} else {
14971498
const fromRouteByFromPathRouteId =

0 commit comments

Comments
 (0)