Uniswap/widgets

Widget crashes when an unsupported chain is selected

dannythedawger opened this issue · 0 comments

Bug Description
A clear and concise description of the bug.

Steps to Reproduce

  1. Connect widget to Metamask wallet on Mainnet
  2. Switch the chain of the Metamask wallet to an unsupported chain, eg BNB
  3. App crashes

Expected Behavior

  1. Connect the widget to Metamask wallet on Mainnet
  2. Switch the chain of the Metamask wallet to an unsupported chain, eg BNB
  3. App shows an error message/prompt

Additional Context
Add any other context about the problem here (screenshots, whether the bug only occurs only in certain mobile/desktop/browser environments, etc.)