From 4097fb848670473de3bf779fa0b276aa36bb3736 Mon Sep 17 00:00:00 2001 From: xiangnuans <1352118502@qq.com> Date: Mon, 11 Nov 2024 10:09:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E7=A9=BA=E5=80=BC?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/useIsConnectionRestored.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useIsConnectionRestored.ts b/src/hooks/useIsConnectionRestored.ts index 0eaa723..7e6f756 100644 --- a/src/hooks/useIsConnectionRestored.ts +++ b/src/hooks/useIsConnectionRestored.ts @@ -6,7 +6,7 @@ export function useIsConnectionRestored(): Ref { const { tonConnectUI } = useTonConnectUI(); onMounted(() => { - if (tonConnectUI) { + if (tonConnectUI?.closeModal) { tonConnectUI.connectionRestored.then(() => { restored.value = true; });