refresh api logout and login
This commit is contained in:
@@ -200,7 +200,7 @@ const ProductDetail = () => {
|
||||
setQuantity((q) => {
|
||||
let next = q - STEP;
|
||||
if (isGram) next = Math.floor(next / STEP) * STEP;
|
||||
return Math.max(MIN_QTY, next);
|
||||
return Math.min(MIN_QTY, next);
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user