Do not call load twice on init of LockComponent (#3295)
This commit is contained in:
parent
d30701ada7
commit
4b70278b3f
|
@ -58,8 +58,6 @@ export class LockComponent implements OnInit, OnDestroy {
|
|||
) {}
|
||||
|
||||
async ngOnInit() {
|
||||
// Load the first and observe updates
|
||||
await this.load();
|
||||
this.activeAccountSubscription = this.stateService.activeAccount$.subscribe(async () => {
|
||||
await this.load();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue