@tanstack/router-core 0.0.1-beta.6 → 0.0.1-beta.7

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.
@@ -933,6 +933,7 @@
933
933
  function pick(parent, keys) {
934
934
  return keys.reduce((obj, key) => {
935
935
  obj[key] = parent[key];
936
+ return obj;
936
937
  }, {});
937
938
  }
938
939
 
@@ -1753,7 +1754,6 @@
1753
1754
  router.listeners.forEach(listener => listener(router));
1754
1755
  },
1755
1756
  dehydrateState: () => {
1756
- router.state;
1757
1757
  return _extends({}, pick(router.state, ['status', 'location', 'lastUpdated']), {
1758
1758
  matches: router.state.matches.map(match => pick(match, ['matchId', 'status', 'routeLoaderData', 'loaderData', 'isInvalid', 'invalidAt']))
1759
1759
  });