diff --git a/src/components/dashboard/roadMissions/operator/Actions/CreateWithoutProcess/Form/MachineAndDriver/MachinesDialog/index.jsx b/src/components/dashboard/roadMissions/operator/Actions/CreateWithoutProcess/Form/MachineAndDriver/MachinesDialog/index.jsx index a422439..8750142 100644 --- a/src/components/dashboard/roadMissions/operator/Actions/CreateWithoutProcess/Form/MachineAndDriver/MachinesDialog/index.jsx +++ b/src/components/dashboard/roadMissions/operator/Actions/CreateWithoutProcess/Form/MachineAndDriver/MachinesDialog/index.jsx @@ -31,10 +31,7 @@ const MachinesDialog = ({ setMachine, mode }) => { {openMachinesDialog && ( - + )} diff --git a/src/components/dashboard/roadMissions/operator/Actions/CreateWithoutProcess/Form/MachineAndDriver/index.jsx b/src/components/dashboard/roadMissions/operator/Actions/CreateWithoutProcess/Form/MachineAndDriver/index.jsx index d8f8ea0..7fda6e0 100644 --- a/src/components/dashboard/roadMissions/operator/Actions/CreateWithoutProcess/Form/MachineAndDriver/index.jsx +++ b/src/components/dashboard/roadMissions/operator/Actions/CreateWithoutProcess/Form/MachineAndDriver/index.jsx @@ -12,7 +12,6 @@ const MachineAndDriver = ({ setTabState, allData, setAllData, handlePrev }) => { setTabState((s) => s + 1); }; - return ( <> @@ -32,15 +31,10 @@ const MachineAndDriver = ({ setTabState, allData, setAllData, handlePrev }) => { size="small" /> - + ) : ( - + )} {machine && ( @@ -50,11 +44,7 @@ const MachineAndDriver = ({ setTabState, allData, setAllData, handlePrev }) => { راننده @@ -72,11 +62,16 @@ const MachineAndDriver = ({ setTabState, allData, setAllData, handlePrev }) => { - - ) -} -export default MachineAndDriver \ No newline at end of file + ); +}; +export default MachineAndDriver; diff --git a/src/components/dashboard/roadMissions/operator/Actions/CreateWithoutProcess/Form/Verify/index.jsx b/src/components/dashboard/roadMissions/operator/Actions/CreateWithoutProcess/Form/Verify/index.jsx index be33cd8..0393018 100644 --- a/src/components/dashboard/roadMissions/operator/Actions/CreateWithoutProcess/Form/Verify/index.jsx +++ b/src/components/dashboard/roadMissions/operator/Actions/CreateWithoutProcess/Form/Verify/index.jsx @@ -92,10 +92,7 @@ const Verify = ({ allData, handlePrev, submitForm, submitting }) => { راننده - + diff --git a/src/components/dashboard/roadMissions/operator/Actions/CreateWithoutProcess/index.jsx b/src/components/dashboard/roadMissions/operator/Actions/CreateWithoutProcess/index.jsx index 0f150ed..ab64c85 100644 --- a/src/components/dashboard/roadMissions/operator/Actions/CreateWithoutProcess/index.jsx +++ b/src/components/dashboard/roadMissions/operator/Actions/CreateWithoutProcess/index.jsx @@ -31,8 +31,8 @@ const CreateWithoutProcess = ({ mutate }) => { category_id: result.category_id, ...(result.category_id == 3 ? { - road_observed_id: result.road_observed_id, - } + road_observed_id: result.road_observed_id, + } : {}), area: { type: result.bound_type, @@ -52,7 +52,7 @@ const CreateWithoutProcess = ({ mutate }) => { mutate(); setOpen(false); }) - .catch((error) => { }) + .catch((error) => {}) .finally(() => { setSubmitting(false); }); diff --git a/src/components/dashboard/roadMissions/transportation/RowActions/Allocation/Form/index.jsx b/src/components/dashboard/roadMissions/transportation/RowActions/Allocation/Form/index.jsx index 4a6f44a..e06d06b 100644 --- a/src/components/dashboard/roadMissions/transportation/RowActions/Allocation/Form/index.jsx +++ b/src/components/dashboard/roadMissions/transportation/RowActions/Allocation/Form/index.jsx @@ -36,7 +36,7 @@ const AllocationForm = ({ row, mutate, setOpenAllocationDialog }) => { mutate(); setOpenAllocationDialog(false); }) - .catch((error) => { }) + .catch((error) => {}) .finally(() => { setIsSubmitting(false); });