diff --git a/src/screens/WalletConnect.tsx b/src/screens/WalletConnect.tsx index fc0e489..c0e80d9 100644 --- a/src/screens/WalletConnect.tsx +++ b/src/screens/WalletConnect.tsx @@ -22,7 +22,7 @@ export default function WalletConnect() { }; useEffect(() => { - const sessions = web3wallet!.getActiveSessions(); + const sessions = web3wallet?.getActiveSessions() || {}; setActiveSessions(sessions); }, [setActiveSessions]);