diff --git a/src/components/common/ConnectWallet/MPCLogin.tsx b/src/components/common/ConnectWallet/MPCLogin.tsx index e980b556e5..1e6ba23686 100644 --- a/src/components/common/ConnectWallet/MPCLogin.tsx +++ b/src/components/common/ConnectWallet/MPCLogin.tsx @@ -7,6 +7,7 @@ import GoogleLogo from '@/public/images/welcome/logo-google.svg' import css from './styles.module.css' import useWallet from '@/hooks/wallets/useWallet' +import { ONBOARD_MPC_MODULE_LABEL } from '@/services/mpc/module' const MPCLogin = ({ onLogin }: { onLogin?: () => void }) => { const { loginPending, triggerLogin, userInfo, walletState, recoverFactorWithPassword } = useContext(MpcWalletContext) @@ -22,7 +23,7 @@ const MPCLogin = ({ onLogin }: { onLogin?: () => void }) => { // If login was triggered through the Button we immediately continue if logged in useEffect(() => { - if (loginTriggered && wallet && onLogin) { + if (loginTriggered && wallet && wallet.label === ONBOARD_MPC_MODULE_LABEL && onLogin) { onLogin() } }, [loginTriggered, onLogin, wallet]) diff --git a/src/components/welcome/NewSafe.tsx b/src/components/welcome/NewSafe.tsx index dde00b3395..7331ef8b8e 100644 --- a/src/components/welcome/NewSafe.tsx +++ b/src/components/welcome/NewSafe.tsx @@ -60,19 +60,19 @@ const NewSafe = () => { - + Stealth security with multiple owners - + Make it yours with modules and guards - + Access 130+ ecosystem apps diff --git a/src/components/welcome/styles.module.css b/src/components/welcome/styles.module.css index 4a07470fc4..dedc5f6fcf 100644 --- a/src/components/welcome/styles.module.css +++ b/src/components/welcome/styles.module.css @@ -41,6 +41,10 @@ height: 100%; } +.checkIcon { + color: var(--color-static-main); +} + .createAddCard { display: flex; flex-direction: column;