Skip to content

Commit

Permalink
Fix, remove additional unnecessary type casts
Browse files Browse the repository at this point in the history
  • Loading branch information
jurevans committed Jul 27, 2023
1 parent ef5f096 commit 3383d3a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/extension/src/background/approvals/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class ApprovalsService {
tokenAddress,
amount: amount.toString(),
publicKey,
accountType: type as string,
accountType: type,
});

this._launchApprovalWindow(url);
Expand Down Expand Up @@ -114,7 +114,7 @@ export class ApprovalsService {
msgId,
source,
amount: amount.toString(),
accountType: type as string,
accountType: type,
publicKey,
});

Expand Down Expand Up @@ -144,7 +144,7 @@ export class ApprovalsService {
source,
validator,
publicKey,
accountType: type as string,
accountType: type,
});

this._launchApprovalWindow(url);
Expand Down

0 comments on commit 3383d3a

Please sign in to comment.