Skip to content

Commit

Permalink
fix return strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
sraibaby committed Sep 17, 2024
1 parent 4f14d58 commit cc48f0f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/common/store/telegram.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ export const Telegram: Reactive<Telegram> = reactive<Telegram>({

this.tonConnectUI.uiOptions = {
twaReturnUrl: import.meta.env.VITE_TELEGRAM_BOT_URL,
actionsConfiguration: {
returnStrategy: 'back'
}
} as TonConnectUiOptions;

this.tonConnectUI.onModalStateChange(async (state) => {
Expand Down

0 comments on commit cc48f0f

Please sign in to comment.