Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed bug in StateContext that changed order of items in cart when updating quantities #48

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

deedeedev
Copy link

As you suggested in the youtube tutorial (at 2:31:39) i fixed the problem with the cart items changing order. I just used the map function on the cartItems array, thus leaving the order of the items unchanged.

@vercel
Copy link

vercel bot commented Jul 12, 2022

Someone is attempting to deploy a commit to a Personal Account owned by @adrianhajdin on Vercel.

@adrianhajdin first needs to authorize it.

@ojongfalon
Copy link

It didn't work

@MatVD
Copy link

MatVD commented Oct 17, 2022

It works great for me. Thanks

@thegera4
Copy link

It works for me too. Thank you for sharing this.

@blakebdavies
Copy link

This solutions worked for me too, thank you!

@SixPalms3-2
Copy link

This works for me. Thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants