protofire / omen-exchange

Omen exchange
https://omen.eth.link/
GNU Affero General Public License v3.0
66 stars 77 forks source link

App crashes after user locks Metamask account #2168

Closed pimato closed 3 years ago

pimato commented 3 years ago

Describe the bug App crashes if user locks their Metamask account.

To Reproduce Steps to reproduce the behavior:

  1. Go to http://localhost:3000/#/liquidity
  2. Connect to your Metamask account
  3. Click on Metamask extension
  4. Click on Jazz icon: Bildschirmfoto 2021-08-10 um 15 48 37
  5. Click on Lock Button
  6. See error: Bildschirmfoto 2021-08-10 um 15 49 31

Expected behavior App should disconnect web3 connection without throwing errors.

Screenshots

https://user-images.githubusercontent.com/5337809/128878899-c45d85b6-d012-4777-aef2-28727fa2c073.mov