diff --git a/src/contexts/WalletConnect/index.tsx b/src/contexts/WalletConnect/index.tsx index 10ca78e3..1400d88d 100644 --- a/src/contexts/WalletConnect/index.tsx +++ b/src/contexts/WalletConnect/index.tsx @@ -221,6 +221,9 @@ export const WalletConnectProvider = ({ // Get session from approval. const newWcSession = await wcMeta?.approval(); + // Close modal on approval completion. + wcModal.current!.closeModal(); + // Update session data in provider. if (wcProvider.current) { wcProvider.current.session = newWcSession;