chore(FE): Remove redundant comments in InventoryAdjustmentForm

This commit is contained in:
rstubryan
2026-02-27 09:30:10 +07:00
parent 9fb65bdacd
commit 8811976f53
@@ -213,7 +213,6 @@ const InventoryAdjustmentForm = ({
: [];
}, [productWarehouses]);
// Get available quantity from selected product
const selectedProductQuantity = useMemo(() => {
if (!selectedProduct) return 0;
const product = productOptions.find(
@@ -222,7 +221,6 @@ const InventoryAdjustmentForm = ({
return product?.quantity ?? 0;
}, [selectedProduct, productOptions]);
// Check if current transaction subtype reduces stock
const isStockOutSubtype = useMemo(() => {
const subtype = selectedTransactionSubtype?.value;
return (
@@ -393,7 +391,6 @@ const InventoryAdjustmentForm = ({
}
}, [selectedTransactionSubtype]);
// Validate quantity against available stock
useEffect(() => {
const qty = Number(formik.values.qty);
if (