Widget crashes when an unsupported chain is selected
dannythedawger opened this issue · 0 comments
dannythedawger commented
Bug Description
A clear and concise description of the bug.
Steps to Reproduce
- Connect widget to Metamask wallet on Mainnet
- Switch the chain of the Metamask wallet to an unsupported chain, eg BNB
- App crashes
Expected Behavior
- Connect the widget to Metamask wallet on Mainnet
- Switch the chain of the Metamask wallet to an unsupported chain, eg BNB
- 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.)