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

View File

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