I've deployed my contract on the correct network (rinkeby) as seen here. I've also connected my wallet address to the dApp selecting the correct network. I have run npx hardhat compile to update my contract artifact. However, when I try to run provider.getCode(contractAddress), it returns with 0x, and I can't figure out why.
const contractAddress = '0x1Fc7Fe607BA2481Ff492814C27943dEdB8cBA0cE'
const provider = await web3Modal.connect()
const web3Provider = new ethers.providers.Web3Provider(provider)
console.log(await web3Provider.getCode(contractAddress)) // returns 0x