build and format
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -108,7 +108,6 @@ const AllocationForm = ({ row, mutate, setOpenAllocationDialog }) => {
|
|||||||
)}
|
)}
|
||||||
</Stack>
|
</Stack>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
</Stack>
|
</Stack>
|
||||||
</Paper>
|
</Paper>
|
||||||
<Stack spacing={1}>
|
<Stack spacing={1}>
|
||||||
|
|||||||
Reference in New Issue
Block a user