Fix for no key issue
Now if location has no key, it is assumed that history hasn't updated
This commit is contained in:
@@ -51,9 +51,7 @@ app$({ history, location: appLocation })
|
||||
|
||||
const routerState$ = appStore$
|
||||
.map(({ location }) => location)
|
||||
.distinctUntilChanged(
|
||||
location => location && location.key ? location.key : location
|
||||
);
|
||||
.filter(location => !!location);
|
||||
|
||||
// set page title
|
||||
appStore$
|
||||
|
Reference in New Issue
Block a user