From ee49c91fbabaf2ebf3926835db1535e7a4b8aff5 Mon Sep 17 00:00:00 2001 From: rstubryan Date: Thu, 26 Feb 2026 12:08:36 +0700 Subject: [PATCH] refactor(FE): Add type annotation for inventory adjustment payload --- .../pages/inventory/adjustment/form/InventoryAdjustmentForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/pages/inventory/adjustment/form/InventoryAdjustmentForm.tsx b/src/components/pages/inventory/adjustment/form/InventoryAdjustmentForm.tsx index 8cfabb3e..627ba952 100644 --- a/src/components/pages/inventory/adjustment/form/InventoryAdjustmentForm.tsx +++ b/src/components/pages/inventory/adjustment/form/InventoryAdjustmentForm.tsx @@ -248,7 +248,7 @@ const InventoryAdjustmentForm = ({ validateOnBlur: true, onSubmit: async (values) => { setInventoryAdjustmentFormErrorMessage(''); - const payload = { + const payload: CreateInventoryAdjustmentPayload = { project_flock_kandang_id: values.project_flock_kandang_id, product_id: values.product_id, transaction_subtype: values.transaction_subtype,