node-react-ecommerce
node-react-ecommerce copied to clipboard
the amount not change in page cartScreen hour 3:01:59
<select value={item.qty} onChange={(e) => dispatch(addToCart(item.product, e.target.value))}>
{[...Array(item.countInStock).keys()].map(x =>
<option key={x + 1} value={x + 1}>{x + 1})}
push your code on github and put its link here. I run it locally to fix the issue.
thank you basir!!
I couldn't upload it to github because of the size.
I brought it up hereף
https://bitbucket.org/shneorbachar3131/amazona1/src/master/
It is only 5 mb. Put it on github and send me the link.
https://github.com/shneor770/amzona
it okay??
Check your code line by line with this: https://github.com/basir/node-react-ecommerce/pull/11/files You will find the difference. hint: it is cartReducer.js good luck
On Wed, Jun 3, 2020 at 3:21 PM shneor770 [email protected] wrote:
https://github.com/shneor770/amzona
it okay??
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/basir/node-react-ecommerce/issues/31#issuecomment-638118045, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATUFQ6R4IKWGZSL4XY3YCDRUYTMFANCNFSM4NRJY7HA .
Fixed 👯
Check your code line by line with this: https://github.com/basir/node-react-ecommerce/pull/11/files You will find the difference. hint: it is cartReducer.js good luck … On Wed, Jun 3, 2020 at 3:21 PM shneor770 @.***> wrote: https://github.com/shneor770/amzona it okay?? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#31 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATUFQ6R4IKWGZSL4XY3YCDRUYTMFANCNFSM4NRJY7HA .
FIXED 👯
sounds good
On Wed, Jun 3, 2020 at 4:27 PM André Makrilou [email protected] wrote:
Fixed 👯
Check your code line by line with this: https://github.com/basir/node-react-ecommerce/pull/11/files You will find the difference. hint: it is cartReducer.js good luck … <#m_-7087029110440973137_> On Wed, Jun 3, 2020 at 3:21 PM shneor770 @.***> wrote: https://github.com/shneor770/amzona it okay?? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#31 (comment) https://github.com/basir/node-react-ecommerce/issues/31#issuecomment-638118045>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATUFQ6R4IKWGZSL4XY3YCDRUYTMFANCNFSM4NRJY7HA .
FIXED 👯
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/basir/node-react-ecommerce/issues/31#issuecomment-638149369, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATUFQ7KG7IQAAC42YKLVSLRUY3BFANCNFSM4NRJY7HA .
Thank you very much basir !!! You are a champion