From 4b70278b3f652ff5100821175ec1d322075acb0d Mon Sep 17 00:00:00 2001 From: Daniel James Smith Date: Mon, 15 Aug 2022 20:38:01 +0200 Subject: [PATCH] Do not call load twice on init of LockComponent (#3295) --- libs/angular/src/components/lock.component.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/libs/angular/src/components/lock.component.ts b/libs/angular/src/components/lock.component.ts index 83d5744dfa7..25759e9f29a 100644 --- a/libs/angular/src/components/lock.component.ts +++ b/libs/angular/src/components/lock.component.ts @@ -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(); });