Do not call load twice on init of LockComponent (#3295)

This commit is contained in:
Daniel James Smith 2022-08-15 20:38:01 +02:00 committed by GitHub
parent d30701ada7
commit 4b70278b3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -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();
});