I had deployed an app for reading the news on Heroku. News articles are fetched from the newsapiorg api. The deployment was successful on heroku but when I opened the deployed link, it is showing the error as given in the image.
Deployed Link - https://news-reader2.herokuapp.com/
The complete link of this React Project is - https://github.com/mohitm15/NewsReader-2.0
The readme gives all instructions to run it on the local dependencies.
The reason I could figure out is that the data is not fetched from the API. That's why it is showing the count of articles zero & that's why articles.length is undefined.
Can anyone figure out what's the issue and how it gets resolved?