We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 830f091 commit d0e8555Copy full SHA for d0e8555
packages/modal/src/ui/components/ConnectWallet/ConnectWallet.tsx
@@ -56,7 +56,7 @@ function ConnectWallet(props: ConnectWalletProps) {
56
};
57
58
const walletDiscoverySupported = useMemo(() => {
59
- const supported = walletRegistry && Object.keys(walletRegistry.default || {}).length > 0 && Object.keys(walletRegistry.others || {}).length > 0;
+ const supported = walletRegistry && (Object.keys(walletRegistry.default || {}).length > 0 || Object.keys(walletRegistry.others || {}).length > 0);
60
return supported;
61
}, [walletRegistry]);
62
0 commit comments