From cc48f0f5c3aa3d50353308a1ffa31a54efdc4a90 Mon Sep 17 00:00:00 2001 From: sraibaby Date: Tue, 17 Sep 2024 17:45:44 +0300 Subject: [PATCH] fix return strategy --- src/common/store/telegram.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/store/telegram.ts b/src/common/store/telegram.ts index 5bfdce4..237c5b9 100644 --- a/src/common/store/telegram.ts +++ b/src/common/store/telegram.ts @@ -49,6 +49,9 @@ export const Telegram: Reactive = reactive({ this.tonConnectUI.uiOptions = { twaReturnUrl: import.meta.env.VITE_TELEGRAM_BOT_URL, + actionsConfiguration: { + returnStrategy: 'back' + } } as TonConnectUiOptions; this.tonConnectUI.onModalStateChange(async (state) => {