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

page is directing to empty page upon incomplete search

Open
#319 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
as soon as we enter something in the search field the page disappears

To Reproduce
Steps to reproduce the behavior:

Go to Restaurants
Click on search
type any name
See error
Expected behavior
It shouldnt crash this way

Screenshots
image

Desktop (please complete the following information):

OS: Windows
Browser Chrome
Version 122.0.6261.95 (Official Build) (64-bit)
Activity

Contributor guide

Open the contributing guide

Research direction

Start at the Restaurants page and reproduce the issue in Chrome by entering text in the search field. Trace the search flow to identify why the page becomes empty while the query is incomplete, then verify that entering a name keeps the page usable and displays the expected results or empty state without crashing.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.