diff --git a/packages/gitbook-core/src/reducers/history.js b/packages/gitbook-core/src/reducers/history.js index 8d2a2fb22..be8fe42f6 100644 --- a/packages/gitbook-core/src/reducers/history.js +++ b/packages/gitbook-core/src/reducers/history.js @@ -7,7 +7,7 @@ const isServerSide = (typeof window === 'undefined'); const HistoryState = Record({ // Current location - location: null, + location: new Location(), // Are we loading a new page loading: Boolean(false), // Did we fail loading a page?