Skip to content

Commit

Permalink
Fix typo and remove extra await
Browse files Browse the repository at this point in the history
  • Loading branch information
alec-livefront committed Jan 15, 2025
1 parent 3f9865b commit d280e38
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/browser/src/background/nativeMessaging.background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ export class NativeMessagingBackground {
this.publicKey,
);

this.messagingService.send("showNativeMessagingFinterprintDialog", {
this.messagingService.send("showNativeMessagingFingerprintDialog", {
fingerprint: fingerprint,
});
}
Expand Down
2 changes: 1 addition & 1 deletion apps/browser/src/popup/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export class AppComponent implements OnInit, OnDestroy {
// FIXME: Verify that this floating promise is intentional. If it is, add an explanatory comment and ensure there is proper error handling.
// eslint-disable-next-line @typescript-eslint/no-floating-promises
this.showDialog(msg);
} else if (msg.command === "showNativeMessagingFinterprintDialog") {
} else if (msg.command === "showNativeMessagingFingerprintDialog") {
// TODO: Should be refactored to live in another service.
// FIXME: Verify that this floating promise is intentional. If it is, add an explanatory comment and ensure there is proper error handling.
// eslint-disable-next-line @typescript-eslint/no-floating-promises
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class LoginApprovalComponent implements OnInit, OnDestroy {
if (this.notificationId != null) {
this.authRequestResponse = await this.apiService.getAuthRequest(this.notificationId);
const publicKey = Utils.fromB64ToArray(this.authRequestResponse.publicKey);
this.email = await await firstValueFrom(
this.email = await firstValueFrom(
this.accountService.activeAccount$.pipe(map((a) => a?.email)),
);
this.fingerprintPhrase = await this.authRequestService.getFingerprintPhrase(
Expand Down

0 comments on commit d280e38

Please sign in to comment.