I'm using react and javascript. For whatever reason, I've tried a few methods and it doesn't seem to be opening metamask.
await window.ethereum.enable();
and
window.web3 = new Web3(web3.currentProvider);
But in the second instance it has no clue what web3 is.