Closed tamarameghla closed 3 years ago
Please update the description with trello card link
@tamarameghla I am sorry to say but this pr is no where near ready. You have removed the old code and put your own implementation which is based on your local test data file, but your goal is to keep everything same and just add functionality of sorting the news. You need to figure out a way how you can achieve that.
I have created news.json for the demo news. ListOfNews/index.js is now getting demo news from news.json and I changed some logic in getNewsListAPI function. Now it can sort news according to ( updatedAt ). fetched data from https://www.unitandem.fi/api/v1/news/