From 796bd352141a0c10399bcb9d6e801b74c3e4bfad Mon Sep 17 00:00:00 2001 From: schmanu Date: Fri, 6 Oct 2023 11:40:33 +0200 Subject: [PATCH] fix: review issues (2) --- .../common/ConnectWallet/MPCLogin.tsx | 2 +- .../ConnectWallet/MPCWalletProvider.tsx | 13 +++-------- .../welcome/WelcomeLogin/WalletLogin.tsx | 21 +++++------------- .../mpc/__tests__/useMPCWallet.test.ts | 2 +- src/hooks/wallets/mpc/useMPCWallet.ts | 22 ++++++------------- 5 files changed, 17 insertions(+), 43 deletions(-) diff --git a/src/components/common/ConnectWallet/MPCLogin.tsx b/src/components/common/ConnectWallet/MPCLogin.tsx index 1c602202fb..e55a32647b 100644 --- a/src/components/common/ConnectWallet/MPCLogin.tsx +++ b/src/components/common/ConnectWallet/MPCLogin.tsx @@ -30,7 +30,7 @@ const MPCLogin = ({ onLogin }: { onLogin?: () => void }) => { return ( <> - {wallet && userInfo.email ? ( + {wallet && userInfo ? ( <>