I am trying to load in a user’s (hardcoded address rn) NFTs when my page loads in. Despite doing “await” for the getNFTBalances, the console.log for fetchedNFTs under it prints out “null.” I’ve tried using a button that calls getNFTs() and it seems that on first button press, it always prints “null,” but on second button press, it works (290 total). Anyone know what is up?
Also, I checked error, isLoading, and isFetching and error=null, isLoading=false, isFetching=false.
File I’m trying to load NFTs into
Index.js