I get this error while trying to use the switchNetwork to change my chain id
Missing web3 instance, make sure to call Moralis.enableWeb3() or Moralis.authenticate()
is there a proper way to do it in react assuming the following were available in my code
import { useChain } from “react-moralis”;
const { switchNetwork } = useChain();
switchNetwork(“0x61”);