A responsive news app called ACONEWS. The app will fetch and display news from the GNews API (using the free tier). The project involves frontend design, backend integration, and deployment on Firebase.
When accessed through the dynamic route /category/travel, the Travel news category does not display any data. All other categories are working correctly.
Steps to Reproduce:
Navigate to /category/travel
Observe that no news articles are displayed.
Expected Behavior:
The /category/travel route should display news articles related to travel.
Possible Cause:
The issue likely stems from how the news data is stored and accessed in the useNewsStore. It appears the dynamic category parameter might be misused when accessing data within the store, leading to missing data for the 'travel' category.
When accessed through the dynamic route
/category/travel
, the Travel news category does not display any data. All other categories are working correctly.Steps to Reproduce:
Expected Behavior:
The /category/travel route should display news articles related to travel.
Possible Cause:
The issue likely stems from how the news data is stored and accessed in the useNewsStore. It appears the dynamic category parameter might be misused when accessing data within the store, leading to missing data for the 'travel' category.