The answers I see typically point to localhost/LAN suggests. This all works fine on desktop but will not render on mobile. Once deployed, how can i get this to render on mobile? Thank you
const getNftData = async () => {
const options = { method: 'GET', headers: { Accept: 'application/json' }
};
fetch(
'https://testnets-api.opensea.io/assets? asset_contract_address=0x93F93B8E9293147D7C7C1795b4E72B665ea1FA6a&order_direction=asc',
options
)
.then((response) => response.json())
.then((response) => {
setNfts(response.assets);
console.log(response);
})
.catch((err) => console.error(err));
};
useEffect(() => {
getNftData();
}, []);