diff --git a/ecom-frontend/src/store/actions/index.js b/ecom-frontend/src/store/actions/index.js index 188f3bd..a606f2a 100644 --- a/ecom-frontend/src/store/actions/index.js +++ b/ecom-frontend/src/store/actions/index.js @@ -89,7 +89,7 @@ export const increaseCartQuantity = dispatch({ type: "ADD_CART", - payload: {...data, quantity: newQuantity + 1 }, + payload: {...data, quantity: newQuantity }, }); localStorage.setItem("cartItems", JSON.stringify(getState().carts.cart)); } else { @@ -621,4 +621,4 @@ export const addNewDashboardSeller = setLoader(false); setOpen(false); } - }; \ No newline at end of file + };