diff --git a/components/WalletConnectButton.vue b/components/WalletConnectButton.vue index 5d0f6815..246fd143 100644 --- a/components/WalletConnectButton.vue +++ b/components/WalletConnectButton.vue @@ -4,6 +4,12 @@ const deepLink = ref('') const { initProvider, connect: connectWalletConnect } = useWalletConnectProvider() const { walletConnectProvider: provider } = storeToRefs(useAppStore()) +const { closeModal } = useModal() + +const handleClick = async () => { + await closeModal() + navigateTo(deepLink.value, { external: true }) +} onMounted(async () => { await initProvider() @@ -22,7 +28,19 @@ onMounted(async () => {