diff --git a/landing/siwe.react.js b/landing/siwe.react.js --- a/landing/siwe.react.js +++ b/landing/siwe.react.js @@ -93,7 +93,7 @@ const { openConnectModal } = useConnectModal(); const hasNonce = siweNonce !== null && siweNonce !== undefined; React.useEffect(() => { - if (hasNonce) { + if (hasNonce && openConnectModal) { openConnectModal(); } }, [hasNonce, openConnectModal]);