Closed Dennis-The14th-web closed 2 years ago
I set the qty from redux actions before dispatch as a Number data type. The hooks make it return the qty as a string which, with the reduce method, it concatenates. Dispatch qty:qty
. Thanks for this wonderful information the upload component for me is highly conceptual. Thank you, sir.
The cart-quantity concatenates prev, curr, and initial values instead or summing and returning the total.