gray-mueller / gray-mueller/full-stack-laundry-system

wrong location rendered ( refresh needed )

Open
#144 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 the page is opened the location of the restaurant is shown as the location of the admin user

To Reproduce
Steps to reproduce the behavior:

Go to location>>see error
Expected behavior
it should directly show the location of the restaurant

Screenshots
image
after refreshing >>
image

Desktop (please complete the following information):

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

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue through the restaurant location page in Chrome on Windows, comparing the initial location with the result after refresh. Trace how the restaurant and admin-user locations are loaded and identify where the initial render selects the wrong value; done means the restaurant location appears correctly without refreshing.

Written by the indexing model from the issue text.

Assessment

Tech stack
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.