Remove debug logging
This commit is contained in:
parent
9eb5465bc3
commit
9a16d79ab9
@ -51,8 +51,6 @@ export default function EditFlight() {
|
||||
imageForm.append("images", img);
|
||||
}
|
||||
|
||||
console.log(imageForm);
|
||||
|
||||
const img_id = await client.post(
|
||||
`/flights/${params.id}/add_images`,
|
||||
imageForm,
|
||||
|
@ -20,8 +20,6 @@ export default function NewFlight() {
|
||||
const id = res.data.id;
|
||||
if (!id) throw new Error("Flight creation failed");
|
||||
|
||||
console.log(values.images);
|
||||
|
||||
const imageForm = new FormData();
|
||||
|
||||
// Upload images
|
||||
@ -29,8 +27,6 @@ export default function NewFlight() {
|
||||
imageForm.append("images", img);
|
||||
}
|
||||
|
||||
console.log(imageForm);
|
||||
|
||||
const img_id = await client.post(
|
||||
`/flights/${id}/add_images`,
|
||||
imageForm,
|
||||
|
@ -32,10 +32,6 @@ export default function Me() {
|
||||
new_psk: string;
|
||||
confirm_new_psk: string;
|
||||
}) => {
|
||||
console.log({
|
||||
current_password: values.current_psk,
|
||||
new_password: values.new_psk,
|
||||
});
|
||||
await client.put(`/users/me/password`, {
|
||||
current_password: values.current_psk,
|
||||
new_password: values.new_psk,
|
||||
|
@ -59,8 +59,6 @@ export default function ImageLogItem({
|
||||
imageForm.append("images", img);
|
||||
}
|
||||
|
||||
console.log(imageForm);
|
||||
|
||||
const img_id = await client.post(
|
||||
`/flights/${id}/add_images`,
|
||||
imageForm,
|
||||
|
@ -120,9 +120,6 @@ export default function FlightForm({
|
||||
time_stop: (value) => validate_time(value),
|
||||
},
|
||||
});
|
||||
console.log(initialValues);
|
||||
console.log(form.getTransformedValues());
|
||||
|
||||
const [aircraftOpened, { open: openAircraft, close: closeAircraft }] =
|
||||
useDisclosure(false);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user