SDK for TON Connect 2.0 — a comprehensive communication protocol between wallets and apps in TON ecosystem
326
stars
92
forks
source link
UI-REACT: Can't restore connection after calling tonConnectUI.disconnect() method #195
Open
daniilkananenka opened 4 months ago
Describe the bug
I am developing Telegram Mini App with TONConnectUI I am using
Then I have onClick function
And after it I try to use
useIsConnectionRestored()
which is infinitely. I can fix this only by closing Mini-App or reloadingExpected behavior
Correctly restoring TON connection after
disconnect()
method callCurrent behavior
Descriped in bug
Steps to Reproduce
disconnect()
methoduseIsConnectionRestored()
resultEnvironment
Telegram Mini App. Every OS
Additional context
No response