How would I be able to get smart contract data to load on a site when someone has metamask installed but is not logged in? At the moment the data loads if you don't have metamask installed. I'm using ethers.js:
constlet provider = window.ethereum ? new ethers.providers.Web3Provider(window.ethereum) : new ethers.providers.JsonRpcProvider("URL");
export let signer = window.ethereum ? provider.getSigner() : undefined;
export let contract = new ethers.Contract(
contractAddress,
ABI,
signer ?? provider
);