gray-mueller / gray-mueller/deliveroo-clone-app-using-react-js

Active Orders Display Previously Placed Orders Instead of Current Ones

Open
#238 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
The "Active Orders" section incorrectly displays details of a previously placed order instead of showing the most recent order. This causes confusion and prevents users from tracking their current order accurately.
To Reproduce
Steps to reproduce the behavior:

Place an order and ensure it appears in the "Active Orders" section.
Place a second order.
Navigate to the "Active Orders" section to view the displayed orders.
Expected behavior
The "Active Orders" section should display the most recently placed order along with any other active orders.

Screenshots

ScreenRecording_01-15-2025.11-31-19_1.MP4
Smartphone (please complete the following information):

Device: Infinix hot50

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in the Active Orders section using the listed two-order sequence on a smartphone-sized view. Trace how orders are selected and rendered there; done means the most recently placed order and any other active orders are displayed accurately.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
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.