No event been fired on logout or disconnect, Not so good UX
shinsuny opened this issue · 1 comments
shinsuny commented
Describe the bug
Similar to #235 #311
In case of metamask accountsChanged
is fired when app is disconnected from the metamask.
But could not find any event been fired on torus provider which leads to the poor UX.
To Reproduce
Steps to reproduce the behavior:
- Login and press Open Wallet of
torus-embed
- Go to account of top right and from pull down press "logout"
- "logout" is done so next we need to login
- Because there is no event fired we cant make logout on our app, not so good UX
Expected behavior
There should be an event fired in case of logout button pressed. (like metamask accountsChanged
will be great)
himanshuchawla009 commented
Hi @shinsuny this issue is resolved, It now emits accountsChanged on logout. Thanks,