From 3d7a2073b0c32065ece8857767c7820ed2e54209 Mon Sep 17 00:00:00 2001 From: Adnan Zahir Date: Wed, 1 Apr 2026 11:07:05 +0700 Subject: [PATCH] formatting --- .../production/recording/form/RecordingForm.tsx | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/components/pages/production/recording/form/RecordingForm.tsx b/src/components/pages/production/recording/form/RecordingForm.tsx index 3a54e77d..5190b610 100644 --- a/src/components/pages/production/recording/form/RecordingForm.tsx +++ b/src/components/pages/production/recording/form/RecordingForm.tsx @@ -607,9 +607,7 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => { flags: 'PAKAN,OVK', limit: '100', location_id: stockProductsLocationId, - ...(selectedKandangId - ? { kandang_id: selectedKandangId.toString() } - : {}), + ...(selectedKandangId ? { kandang_id: selectedKandangId.toString() } : {}), }); const { @@ -619,9 +617,7 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => { } = useSelect(ProductWarehouseApi.basePath, 'id', 'product.name', '', { limit: '100', location_id: depletionProductsLocationId, - ...(selectedKandangId - ? { kandang_id: selectedKandangId.toString() } - : {}), + ...(selectedKandangId ? { kandang_id: selectedKandangId.toString() } : {}), type: 'AYAM', }); @@ -689,9 +685,7 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => { limit: '100', type: 'TELUR', location_id: eggProductsLocationId, - ...(selectedKandangId - ? { kandang_id: selectedKandangId.toString() } - : {}), + ...(selectedKandangId ? { kandang_id: selectedKandangId.toString() } : {}), }); const approvedProjectFlockKandangsUrl = useMemo(() => {