I've made a React app with CoinGeko API.
But if I refresh more than 3 time, the app start loading forever.
I have this message on my console, I can't solve it:
Access to fetch at 'https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&ids=&order=market_cap_desc&per_page=10&page=3&sparkline=false&price_change_percentage=1h%2C24h%2C7d' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. CryptoContext.js:38
GET https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&ids=&order=market_cap_desc&per_page=10&page=3&sparkline=false&price_change_percentage=1h%2C24h%2C7d net::ERR_FAILED 429
You can find the Git repository here : repo