lambertf917 / lambertf917/cafe-ordering-system-using-react-js

Restaurant Location Displayed as 'Nil'

Open
#178 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
When attempting to view the location of restaurants within the app, the location is displayed as "Nil" instead of providing the correct address or map coordinates. This issue is occurring consistently when viewing restaurant details.

To Reproduce

Open the app.
Navigate to the restaurants section.
Select any restaurant.
Observe that the location field is displayed as "Nil.
Expected behavior
The location of the restaurant should display the correct address, GPS coordinates, or map.

Screenshot
6f385006-a4ac-48ff-9da5-729c867e0da9

Smartphone (please complete the following information):

Device: iPhone 15 Pro
OS: iOS17.6.1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the restaurant details view and trace how the location value is loaded and displayed. Check the restaurant data flow for the source of the "Nil" value; the work is done when a restaurant shows its correct address, GPS coordinates, or map instead.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.