Skip to content

Commit

Permalink
fix: linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
enesozturk committed Aug 9, 2024
1 parent b9d0e18 commit 3c52aee
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/scaffold/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,8 @@ export class Web3ModalScaffold {

protected getIsConnectedState = () => AccountController.state.isConnected

protected setAllAccounts: (typeof AccountController)['setAllAccounts'] = (
addresses = [],
chain
) => {
AccountController.setAllAccounts(addresses, chain)
protected setAllAccounts: (typeof AccountController)['setAllAccounts'] = (addresses, chain) => {
AccountController.setAllAccounts(addresses || [], chain)
OptionsController.setHasMultipleAddresses(addresses?.length > 1)
}

Expand Down

0 comments on commit 3c52aee

Please sign in to comment.