diff options
-rw-r--r-- | packages/gitbook-core/src/reducers/history.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/gitbook-core/src/reducers/history.js b/packages/gitbook-core/src/reducers/history.js index 8d2a2fb..be8fe42 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? |