Prevent null as location in history

This commit is contained in:
Samy Pesse
2016-12-04 21:18:45 +01:00
parent b04724ae0b
commit febdd8a8bd
@@ -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?