refresh api logout and login

This commit is contained in:
Samandar Turgunboyev
2026-02-18 10:33:01 +05:00
parent 78e79d295e
commit ea097d3953
8 changed files with 14 additions and 22 deletions

View File

@@ -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);
});
};