web3-react
web3-react copied to clipboard
chainId undefined for xDai
When my wallet (MetaMask) is set to the xDai network (100), active returns false, and chainId returns undefined. Other networks (Polygon, Arbitrum, Kovan, etc.) behave as expected.
This is the hook I am using: const { activate, active, chainId } = useWeb3React<Web3Provider>();
React 17.02 Web3React v6 and v8
Same issue for me 👍
hm, i can't repro this. can you confirm this issue still exists after adding xDai through https://chainlist.org/ and visiting https://web3-react-mu.vercel.app/?