@remix-run/router 0.0.0-experimental-88f4a9db3 → 0.0.0-experimental-bcda00aaf

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/router v0.0.0-experimental-88f4a9db3
2
+ * @remix-run/router v0.0.0-experimental-bcda00aaf
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -2314,7 +2314,7 @@ function createRouter(init) {
2314
2314
  pendingViewTransitionEnabled = (opts && opts.enableViewTransition) === true;
2315
2315
  let routesToUse = inFlightDataRoutes || dataRoutes;
2316
2316
  let loadingNavigation = opts && opts.overrideNavigation;
2317
- let matches = isUninterruptedRevalidation && inFlightDataRoutes == null ? [...state.matches] : matchRoutes(routesToUse, location, basename);
2317
+ let matches = isUninterruptedRevalidation && inFlightDataRoutes == null ? state.matches : matchRoutes(routesToUse, location, basename);
2318
2318
  let flushSync = (opts && opts.flushSync) === true;
2319
2319
  let fogOfWar = checkFogOfWar(matches, routesToUse, location.pathname);
2320
2320
  if (fogOfWar.active && fogOfWar.matches) {