Skip to content

Commit 79eec14

Browse files
revert
1 parent b202a89 commit 79eec14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/router-core/src/load-matches.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ const loadRouteMatch = async (
852852
syncMatchContext(inner, matchId, index)
853853

854854
if (isServer ?? inner.router.isServer) {
855-
return match
855+
return inner.router.getMatch(matchId)!
856856
}
857857
} else {
858858
const prevMatch = inner.router.getMatch(matchId)! // This is where all of the stale-while-revalidate magic happens

0 commit comments

Comments
 (0)