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 975e32f commit 2b27ca2Copy full SHA for 2b27ca2
1 file changed
packages/router-core/src/router.ts
@@ -2049,8 +2049,8 @@ export class RouterCore<
2049
(match) =>
2050
!previousMatches.some((d) => d.id === match.id),
2051
)
2052
- stayingMatches = previousMatches.filter((match) =>
2053
- newMatches.some((d) => d.id === match.id),
+ stayingMatches = newMatches.filter((match) =>
+ previousMatches.some((d) => d.id === match.id),
2054
2055
2056
return {
0 commit comments