Merge pull request #2988 from mempool/mononaut/fix-liquid-block-error

Fix navigation-breaking JS error on liquid block page
This commit is contained in:
softsimon authored and GitHub committed 2023-01-28 16:19:59 +04:00
commit 74eb5ea11b
1 file changed
+8 -8
@@ -439,17 +439,17 @@ export class BlockComponent implements OnInit, OnDestroy {
ngOnDestroy() {
this.stateService.markBlock$.next({});
this.transactionSubscription.unsubscribe();
this.transactionSubscription?.unsubscribe();
this.overviewSubscription?.unsubscribe();
this.auditSubscription?.unsubscribe();
this.keyNavigationSubscription.unsubscribe();
this.blocksSubscription.unsubscribe();
this.networkChangedSubscription.unsubscribe();
this.queryParamsSubscription.unsubscribe();
this.timeLtrSubscription.unsubscribe();
this.auditSubscription.unsubscribe();
this.keyNavigationSubscription?.unsubscribe();
this.blocksSubscription?.unsubscribe();
this.networkChangedSubscription?.unsubscribe();
this.queryParamsSubscription?.unsubscribe();
this.timeLtrSubscription?.unsubscribe();
this.auditSubscription?.unsubscribe();
this.unsubscribeNextBlockSubscriptions();
this.childChangeSubscription.unsubscribe();
this.childChangeSubscription?.unsubscribe();
}
unsubscribeNextBlockSubscriptions() {