@tanstack/react-router 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.
@@ -1698,9 +1698,9 @@ function stringifySearchWith(stringify) {
1698
1698
 
1699
1699
  var _window$document;
1700
1700
  // Detect if we're in the DOM
1701
- const isServer = Boolean(typeof window === 'undefined' || !((_window$document = window.document) != null && _window$document.createElement)); // This is the default history object if none is defined
1701
+ const isServer = typeof window === 'undefined' || !((_window$document = window.document) != null && _window$document.createElement); // This is the default history object if none is defined
1702
1702
 
1703
- const createDefaultHistory = () => !isServer ? createBrowserHistory() : createMemoryHistory();
1703
+ const createDefaultHistory = () => isServer ? createMemoryHistory() : createBrowserHistory();
1704
1704
 
1705
1705
  function createRouter(userOptions) {
1706
1706
  var _userOptions$stringif, _userOptions$parseSea;