Need to add a Wrong Chain prompt and disable the function in staking in case of Wrong Chain (when clicking on the function button, a Wrong Chain prompt pops up) #43
the user successfully linked to the Darwinia Chain when first entering the staking page.
The user switches to another Dapp and links to the Arbitrum Chain.
When the user returns to darwinia staking, the page does not indicate that he is on the wrong chain, and the MetaMask pops up normally when he clicks on that page.
Need to add a Wrong Chain prompt and disable the function in staking in case of Wrong Chain (when clicking on the function button, a Wrong Chain prompt pops up)
You are connected to the Wrong Chain. Change the selected Chain to Darwinia in MetaMask.
Situation Description:
https://github.com/darwinia-network/darwinia2.0-staking-ui/assets/80877629/f7ee4f8d-6969-493b-a8ab-50fbe48341b4
Need to add a Wrong Chain prompt and disable the function in staking in case of Wrong Chain (when clicking on the function button, a Wrong Chain prompt pops up)
You are connected to the Wrong Chain. Change the selected Chain to Darwinia in MetaMask.