scrtlabs / EthereumBridgeFrontend

Frontend for the Ethereum<>Secret Network bridge
Other
9 stars 22 forks source link

Changing a Keplr account doesn't take effect till page refresh #189

Open Cashmaney opened 3 years ago

Cashmaney commented 3 years ago

We should either automatically change the selected account (like metamask) or just automatically trigger a page refresh.

Keplr does this (1st option) in their web app, so it shouldn't be too difficult to do as well - should help with the occasional "help I sent my tokens to the wrong address and I don't know where they went" issues as well

alejandrordzl commented 3 years ago

I see, I looked up in the Keplr docs and added a event listener to reload the page when account has changed. I've decided to go straight foward with page reloading to keep working on other high priority issues, moving this to Done.