Skip to content

Commit d0e8555

Browse files
committed
Fix wallet discovery supported logic
1 parent 830f091 commit d0e8555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/modal/src/ui/components/ConnectWallet/ConnectWallet.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function ConnectWallet(props: ConnectWalletProps) {
5656
};
5757

5858
const walletDiscoverySupported = useMemo(() => {
59-
const supported = walletRegistry && Object.keys(walletRegistry.default || {}).length > 0 && Object.keys(walletRegistry.others || {}).length > 0;
59+
const supported = walletRegistry && (Object.keys(walletRegistry.default || {}).length > 0 || Object.keys(walletRegistry.others || {}).length > 0);
6060
return supported;
6161
}, [walletRegistry]);
6262

0 commit comments

Comments
 (0)