hemilabs / ui-monorepo

UI monorepo for Hemi Labs
MIT License
2 stars 1 forks source link

App crashes if connected to the wrong chain and toggling deposit/network #629

Closed gndelia closed 1 hour ago

gndelia commented 3 hours ago

Description

When clicking the Toggle button in the tunnel form the app crashes if the user is not connected to the appropriate chain

Steps to reproduce

  1. Connect to Metamask.
  2. After connecting, go to the Wallet extension and switch to i.e. mainnet
  3. After that, try toggling Deposit/Withdraw operation using the Toggle button

Observe how the app crashes

Environment

Proposed fix

sentry-io[bot] commented 2 hours ago

Sentry Issue: PORTAL-H