build and format

This commit is contained in:
2025-12-01 13:09:38 +03:30
parent 7c197c2bf0
commit c7b011aa51
2 changed files with 2 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ const StartMissionContent = ({ rowId, mutate, setOpenStartMissionDialog }) => {
} = useForm({
defaultValues: {
code: "",
km : ""
km: "",
},
resolver: yupResolver(validationSchema),
mode: "all",
@@ -83,7 +83,7 @@ const StartMissionContent = ({ rowId, mutate, setOpenStartMissionDialog }) => {
value={field.value}
onChange={(e) => {
if (isNaN(Number(e.target.value))) return;
field.onChange(e.target.value)
field.onChange(e.target.value);
}}
size="small"
fullWidth

View File

@@ -108,7 +108,6 @@ const AllocationForm = ({ row, mutate, setOpenAllocationDialog }) => {
)}
</Stack>
)}
</Stack>
</Paper>
<Stack spacing={1}>