gray-mueller / gray-mueller/restaurant-ordering-system-using-react-js

Enatega Admin Dashboard : Shop type option not working, throwing an error due to failed API.

Open
#59 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
When a user selects or interacts with the Shop Type option (e.g., dropdown or filter), the feature fails to function. Instead of displaying available shop types or applying the selection, it throws an error due to a failed API response.

Steps to Reproduce:

Navigate to the page with the Shop Type selection feature.
Attempt to open or select from the Shop Type list.
Observe the application response.
Expected behavior
The list of shop types should load successfully from the API, allowing the user to select and filter results accordingly.
Screenshots

Image Image
Desktop (please complete the following information):

OS: [e.g. Windows]
Browser [e.g. chrome]
Version [e.g. Latest]

Contributor guide

Open the contributing guide

Research direction

Start at the Enatega admin dashboard's Shop Type dropdown or filter and reproduce the failed API request in the browser. Trace the request and response from that control; done means shop types load and selecting one applies the expected filter without an error.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
api, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.