gray-mueller / gray-mueller/food-ordering-app-clone-using-react-js

page is directing to empty page upon incomplete search

Open
#307 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 by reproducing the issue in the Restaurants search flow with Chrome 122 on Windows, then locate the code handling typed search input and incomplete results. The fix is done when entering a restaurant name no longer causes the page to disappear or crash, and the expected search state is shown.

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
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.