@tanstack/react-router 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.
@@ -947,6 +947,7 @@ function functionalUpdate(updater, previous) {
947
947
  function pick(parent, keys) {
948
948
  return keys.reduce((obj, key) => {
949
949
  obj[key] = parent[key];
950
+ return obj;
950
951
  }, {});
951
952
  }
952
953
 
@@ -1767,7 +1768,6 @@ function createRouter(userOptions) {
1767
1768
  router.listeners.forEach(listener => listener(router));
1768
1769
  },
1769
1770
  dehydrateState: () => {
1770
- router.state;
1771
1771
  return _extends({}, pick(router.state, ['status', 'location', 'lastUpdated']), {
1772
1772
  matches: router.state.matches.map(match => pick(match, ['matchId', 'status', 'routeLoaderData', 'loaderData', 'isInvalid', 'invalidAt']))
1773
1773
  });