You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Strange behaviour when the component is rendered twice.
I've one main component which shows the <TonConnectButton> if the user is not connected, and also one inside a modal when the user is about to make a transaction. The second is not rendered.
Expected behavior
The placement of the component should't matter, if its placed it should be rendered.
Current behavior
The fist is show, then I open the modal with the second, the second component is not shown at all, and when I close the modal, the first also disappears!!!
Steps to Reproduce
Place the TonConnectButton uncoditionally and a conditional one, toggle it with some button.
Environment
ui-react
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Strange behaviour when the component is rendered twice.
I've one main component which shows the
<TonConnectButton>
if the user is not connected, and also one inside a modal when the user is about to make a transaction. The second is not rendered.Expected behavior
The placement of the component should't matter, if its placed it should be rendered.
Current behavior
The fist is show, then I open the modal with the second, the second component is not shown at all, and when I close the modal, the first also disappears!!!
Steps to Reproduce
Place the TonConnectButton uncoditionally and a conditional one, toggle it with some button.
Environment
ui-react
Additional context
No response
The text was updated successfully, but these errors were encountered: