Skip to content

Commit 357e42c

Browse files
committed
fix(eventbus): workaround for ngxs router plugin issue
ngxs/store#542
1 parent 600837e commit 357e42c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/core/src/lib/state/eventbus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export class EventBus {
7171
}),
7272
)
7373
.subscribe((event: NavigationEnd) => {
74-
const data = this.store.selectSnapshot<RouterStateData>(RouterState.state);
74+
const data = this.store.selectSnapshot<any>(RouterState.state);
7575
this.pageTitle.setTitle(data.breadcrumbs);
7676
this.analytics.setPage(data.url);
7777
});

0 commit comments

Comments
 (0)