diff --git a/src/components/walletconnect/WcSessionMananger/index.tsx b/src/components/walletconnect/WcSessionMananger/index.tsx index d8c93e2ec7..676921f7e7 100644 --- a/src/components/walletconnect/WcSessionMananger/index.tsx +++ b/src/components/walletconnect/WcSessionMananger/index.tsx @@ -55,9 +55,9 @@ const WcSessionManager = ({ sessions, uri }: WcSessionManagerProps) => { await walletConnect.rejectSession(proposal) } catch (e) { setError(asError(e)) - return } + // Always clear the proposal, even if the rejection fails setProposal(undefined) }, [proposal, walletConnect, setError])