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>();
When my wallet (MetaMask) is set to the xDai network (100),
active
returns false, andchainId
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