I am having trouble fetching testnet nftsâŚ
import React from âreactâ;
import { useMoralisWeb3Api, useMoralis } from âreact-moralisâ;
const Web3Api = useMoralisWeb3Api();
const { chainId, account, isWeb3Enabled } = useMoralis()
`const fetchNFTs = async () => {
// get testnet NFTs for user
const testnetNFTs = await Web3Api.Web3API.account.getNFTs({
chain: âgoerliâ,
});
console.log(testnetNFTs);
};`
when I console.log(account) I get the logged in account in my console so I am unsure as to what the issue is.