Closed isakulaksiz closed 4 years ago
I would like to work on this issue
I checked it out and since it's giving Bad Gateway Error (Code: 502), it's mainly due to because one of the edge server is giving you invalid response that is no data and this is the reason the dailyData return an empty array because actually it is not getting any response from that api request.
Issue relates to the API: https://github.com/mathdroid/covid-19-api/issues/303
Chart.jsx
` const Chart = () => { const [dailyData, setDailyData] = useState([]);
}
export default Chart; `