Skip to content

Commit

Permalink
chore: prettify code
Browse files Browse the repository at this point in the history
  • Loading branch information
magiziz committed Dec 18, 2024
1 parent 258c818 commit ed87bd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/adapters/ethers/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export class EthersAdapter extends AdapterBlueprint {
const { id, chainId } = params

const connector = this.connectors.find(c => c.id === id)

const selectedProvider = connector?.provider as Provider

if (!selectedProvider) {
Expand Down
2 changes: 1 addition & 1 deletion packages/adapters/wagmi/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class WagmiAdapter extends AdapterBlueprint {
params: AdapterBlueprint.GetAccountsParams
): Promise<AdapterBlueprint.GetAccountsResult> {
const connector = this.getWagmiConnector(params.id)

if (!connector) {
return { accounts: [] }
}
Expand Down

0 comments on commit ed87bd3

Please sign in to comment.