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

alert "phone number already registered needed", page doesn't redirect anywhere else

Open
#364 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
upon editing contact details(phone number), the app wasn’t rendering to the next page for verification of number when the same number was given to it.

To Reproduce
Steps to reproduce the behavior:

Go to Eratega-multivendor>>user displayed profile>>profile>>contact information
Click on 'edit' beside phone no
add the same number
See error (page stops rendering further
Expected behavior
Should have generated an alert saying "phone number already registered wit his account

Screenshots
Screenshot 2024-03-05 170004

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 displayed profile, profile, contact information, and phone-number edit flow in Chrome. Trace what happens when the existing number is submitted; done means the duplicate-number alert appears and the page proceeds to the intended verification flow instead of stopping.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.