lambertf917 / lambertf917/react-native-uber-eats-clone

Default food item added to the cart by default

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

Nobody has claimed this yet.

bug Enatega Multivendor Customer App Enatega Multivendor Food Delivery Site good first issue
Dominant language
JavaScript
Stars
3
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Description:
When accessing the cart, a default food item is automatically added without any user action. This behavior can lead to confusion or incorrect orders.

To Reproduce

  1. Open the application.
  2. Navigate to the cart section.
  3. Observe the presence of a default food item already added to the cart.

Expected behavior
The cart should be empty by default unless the user explicitly adds an item.

Actual Behaviour
A default food item is pre-added to the cart automatically, even when the user has not selected anything.

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome

Smartphone (please complete the following information):

  • Device: iPhone15pro
  • 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 cart on the listed Chrome and iOS environments, then trace where the cart is initialized and where its default item is introduced. Confirm the cart starts empty without user action and verify that explicitly adding a food item still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
frontend, mobile
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.