I have this useEffect hook, that is trying to fetch all the data in one time
useEffect(() => {
let promises = [];
data.forEach(item => {
promises.push(fetch(`https://app.subsocial.network/subid/api/v1/check/${(item.name).toLowerCase()}`))
});
Promise.all(promises)
.then(response => response.map(item => item.json()))
.then(data => console.log(data))
.catch(error => console.log(error))
}, [data]);
But, instead the data I have this in console:
