ethereum / ethereum/staking-launchpad
MetaMask prompt not working when on wrong network
- Dominant language
- TypeScript
- Stars
- 304
- Forks
- 226
- PR merge metrics
- No merged PRs in 30d
Description
> This may have already been an issue (i.e. unrelated from your PR) but I noticed when I'm on a different network other than Mainnet (e.g. Arbitrum), it creates some funky behaviour when trying to connect (nothing happens when I click MetaMask). If I'm on Mainnet, it correctly tells me to switch to Goerli.
> Mind making a change here to check if user is on ANY network other than the correct network? If so, we should display that modal to switch:

> ideal logic here might be to auto-switch the network for MetaMask users.
_Originally posted by @samajammin in https://github.com/ethereum/staking-launchpad/pull/495#pullrequestreview-988906310_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.