Fix navigation-breaking js error on liquid block page

This commit is contained in:
Mononaut 2023-01-27 20:01:31 -06:00
parent 763c89363c
commit 30015553d6

View File

@ -439,17 +439,17 @@ export class BlockComponent implements OnInit, OnDestroy {
ngOnDestroy() { ngOnDestroy() {
this.stateService.markBlock$.next({}); this.stateService.markBlock$.next({});
this.transactionSubscription.unsubscribe(); this.transactionSubscription?.unsubscribe();
this.overviewSubscription?.unsubscribe(); this.overviewSubscription?.unsubscribe();
this.auditSubscription?.unsubscribe(); this.auditSubscription?.unsubscribe();
this.keyNavigationSubscription.unsubscribe(); this.keyNavigationSubscription?.unsubscribe();
this.blocksSubscription.unsubscribe(); this.blocksSubscription?.unsubscribe();
this.networkChangedSubscription.unsubscribe(); this.networkChangedSubscription?.unsubscribe();
this.queryParamsSubscription.unsubscribe(); this.queryParamsSubscription?.unsubscribe();
this.timeLtrSubscription.unsubscribe(); this.timeLtrSubscription?.unsubscribe();
this.auditSubscription.unsubscribe(); this.auditSubscription?.unsubscribe();
this.unsubscribeNextBlockSubscriptions(); this.unsubscribeNextBlockSubscriptions();
this.childChangeSubscription.unsubscribe(); this.childChangeSubscription?.unsubscribe();
} }
unsubscribeNextBlockSubscriptions() { unsubscribeNextBlockSubscriptions() {