@tanstack/router-core 0.0.1-beta.2 → 0.0.1-beta.3

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.
@@ -1684,9 +1684,9 @@
1684
1684
 
1685
1685
  var _window$document;
1686
1686
  // Detect if we're in the DOM
1687
- const isServer = Boolean(typeof window === 'undefined' || !((_window$document = window.document) != null && _window$document.createElement)); // This is the default history object if none is defined
1687
+ const isServer = typeof window === 'undefined' || !((_window$document = window.document) != null && _window$document.createElement); // This is the default history object if none is defined
1688
1688
 
1689
- const createDefaultHistory = () => !isServer ? createBrowserHistory() : createMemoryHistory();
1689
+ const createDefaultHistory = () => isServer ? createMemoryHistory() : createBrowserHistory();
1690
1690
 
1691
1691
  function createRouter(userOptions) {
1692
1692
  var _userOptions$stringif, _userOptions$parseSea;