Fix concurrent asynchronous calls. (#675)

* Fix concurrent asynchronous calls.

* Remove test without mempool info websocket.

* Remove isloading$ variable.
This commit is contained in:
Miguel Medeiros authored and GitHub committed 2021-07-31 19:40:15 +03:00
1 parent 837e714b1f
commit 8b0d1db776
10 files changed
+24 -32

No files matched your search

@@ -1,21 +1,11 @@
import { Component, OnInit, OnDestroy, ChangeDetectionStrategy } from '@angular/core';
import { StateService } from 'src/app/services/state.service';
import { Subscription, Observable } from 'rxjs';
import { Component, ChangeDetectionStrategy } from '@angular/core';
@Component({
selector: 'app-blockchain',
templateUrl: './blockchain.component.html',
styleUrls: ['./blockchain.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class BlockchainComponent implements OnInit {
isLoading$: Observable<boolean>;
export class BlockchainComponent {
constructor(
private stateService: StateService,
) {}
ngOnInit() {
this.isLoading$ = this.stateService.isLoadingWebSocket$;
}
constructor() { }
}