From c8545b21cf2a813e76cfcc87dbc2d77c90aeb691 Mon Sep 17 00:00:00 2001 From: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com> Date: Mon, 2 Dec 2024 14:21:48 +0100 Subject: [PATCH] Fix WalletConnect error (#592) --- .../ui/src/components/modals/WalletConnectSessionProposal.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/ui/src/components/modals/WalletConnectSessionProposal.tsx b/packages/ui/src/components/modals/WalletConnectSessionProposal.tsx index 4ea8614f..56a5b3d1 100644 --- a/packages/ui/src/components/modals/WalletConnectSessionProposal.tsx +++ b/packages/ui/src/components/modals/WalletConnectSessionProposal.tsx @@ -57,6 +57,8 @@ const WalletConnectSessionProposal = ({ onClose, className, sessionProposal }: P - Requested: ${chains} - Current: ${currentNamespace}` ) + } else { + setErrorMessage('') } }, [chains, currentNamespace, sessionProposal, web3wallet])