@tanstack/router-core 1.133.36 → 1.134.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/router.ts CHANGED
@@ -2111,8 +2111,8 @@ export class RouterCore<
2111
2111
  (match) =>
2112
2112
  !previousMatches.some((d) => d.id === match.id),
2113
2113
  )
2114
- stayingMatches = previousMatches.filter((match) =>
2115
- newMatches.some((d) => d.id === match.id),
2114
+ stayingMatches = newMatches.filter((match) =>
2115
+ previousMatches.some((d) => d.id === match.id),
2116
2116
  )
2117
2117
 
2118
2118
  return {