Skip to content

Commit

Permalink
fix(accounts-controller): remove unused @ts-expect-error
Browse files Browse the repository at this point in the history
  • Loading branch information
ccharly committed Jan 6, 2025
1 parent 865cff8 commit 04aeed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/accounts-controller/src/AccountsController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ export class AccountsController extends BaseController<
};
// Do not remove this comment - This error is flaky: Comment out or restore the `ts-expect-error` directive below as needed.
// See: https://github.com/MetaMask/utils/issues/168
// @ts-expect-error Known issue - `Json` causes recursive error in immer `Draft`/`WritableDraft` types
// // @ts-expect-error Known issue - `Json` causes recursive error in immer `Draft`/`WritableDraft` types
currentState.internalAccounts.accounts[accountId] = internalAccount;

if (metadata.name) {
Expand Down

0 comments on commit 04aeed5

Please sign in to comment.