Skip to content

Commit 3c3455e

Browse files
committed
remove isInstalledCheck
1 parent 7b35788 commit 3c3455e

File tree

1 file changed

+8
-9
lines changed
  • packages/modal/src/ui/components/Login

1 file changed

+8
-9
lines changed

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

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import HCaptcha from "@hcaptcha/react-hcaptcha";
22
import { AUTH_CONNECTION, AUTH_CONNECTION_TYPE } from "@web3auth/auth";
33
import {
44
ANALYTICS_EVENTS,
5+
isBrowser,
56
log,
67
type ModalSignInMethodType,
78
type WALLET_CONNECTOR_TYPE,
@@ -358,15 +359,13 @@ function Login(props: LoginProps) {
358359
if (wallet.name === WALLET_CONNECTORS.METAMASK && !wallet.hasInjectedWallet) {
359360
handleExternalWalletClick({ connector: wallet.name });
360361
// We should show QR code only if the wallet is not installed.
361-
if (!wallet.isInstalled) {
362-
setBodyState({
363-
...bodyState,
364-
metamaskQrCode: {
365-
show: true,
366-
wallet: wallet,
367-
},
368-
});
369-
}
362+
setBodyState({
363+
...bodyState,
364+
metamaskQrCode: {
365+
show: true,
366+
wallet: wallet,
367+
},
368+
});
370369
return;
371370
}
372371

0 commit comments

Comments
 (0)