Skip to content

Commit e135b8e

Browse files
fix: compare walletchoice with authtype in approved namespace getter
1 parent 41b2b25 commit e135b8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/wagmi/src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export class AppKit extends AppKitScaffold {
124124
);
125125

126126
return getWalletConnectCaipNetworks(connector);
127-
} else if (authType) {
127+
} else if (walletChoice?.includes(authType)) {
128128
return getAuthCaipNetworks();
129129
}
130130

0 commit comments

Comments
 (0)