Skip to content
Snippets Groups Projects
Verified Commit f826669b authored by Defendi Alberto's avatar Defendi Alberto
Browse files

Remove console.log.

parent b5994266
No related branches found
No related tags found
2 merge requests!69Possibility to insert a reservation and new docs.,!64Pass state to avoid controlled component.
......@@ -4,7 +4,5 @@ import { ReservationProps } from 'components/Dashboard/ReservationPage/Reservati
export const setReservation = async (
reservation: InsertReservationProps,
): Promise<void> =>
axios
.post('/api/web/reservations/', reservation)
.then((res) => console.log(res));
): Promise<any> =>
axios.post('/api/web/reservations/', reservation).then((res) => res);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment