From 8811976f53cd4a1399fe981ea92550fbf66703d6 Mon Sep 17 00:00:00 2001 From: rstubryan Date: Fri, 27 Feb 2026 09:30:10 +0700 Subject: [PATCH] chore(FE): Remove redundant comments in InventoryAdjustmentForm --- .../inventory/adjustment/form/InventoryAdjustmentForm.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/components/pages/inventory/adjustment/form/InventoryAdjustmentForm.tsx b/src/components/pages/inventory/adjustment/form/InventoryAdjustmentForm.tsx index a2530277..771e8b64 100644 --- a/src/components/pages/inventory/adjustment/form/InventoryAdjustmentForm.tsx +++ b/src/components/pages/inventory/adjustment/form/InventoryAdjustmentForm.tsx @@ -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 (