badhon252 / aconews

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.
0 stars 0 forks source link

Travel News Category Not Displaying Data #27

Closed badhon252 closed 1 day ago

badhon252 commented 1 day ago

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.

badhon252 commented 1 day ago

resolved!