Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jurevans committed Jun 6, 2023
1 parent d57eb58 commit 57c4374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/extension/src/background/keyring/keyring.ts
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ export class KeyRing {
}

// remove password held locally if active account deleted
if (accountId === (await this.getActiveAccountId())) {
if (accountId === (await this.getActiveAccount())?.id) {
this._password = undefined;
}

Expand Down

0 comments on commit 57c4374

Please sign in to comment.