Skip to content

Commit

Permalink
#1
Browse files Browse the repository at this point in the history
  • Loading branch information
pablopavez committed Dec 4, 2023
1 parent 3e0131a commit 994a4cd
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion frontend/src/components/hotel/HotelCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ function HotelCard({ hotel, inicio, fin }) {
<p className="text-sm text-DescripcionHotel">{hotel.descripcion}</p>
</div>
<div className="w-1/5 flex flex-col items-end justify-between p-4">
{console.log(hotel.habilitado)}
<SwitchButton isToggled={hotel.habilitado} toggle={toggle} />
<div className="flex justify-between w-full">
<button
Expand Down
1 change: 0 additions & 1 deletion frontend/src/components/otros/CategoriaForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export default function CategoriaForm({ title, isOpen, onClose }) {
servicioElegido,
estrellas,
};
console.log(newCategoria);
try {
const res = await api.categorias.create(newCategoria);
} catch (error) {
Expand Down
1 change: 0 additions & 1 deletion frontend/src/components/otros/HabitacionForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export default function HabitacionForm({ title, isOpen, onClose }) {
piso,
tipo_habitacion: tipoHabitacion,
};
console.log(newHabitacion);
try {
const res = await api.habitaciones.create(newHabitacion);
if (res) setShowSuccessModal(true);
Expand Down
1 change: 0 additions & 1 deletion frontend/src/components/otros/ProvinciaForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export default function ProvinciaForm({ title, isOpen, onClose }) {
pais,
nombre,
};
console.log(newProvincia);
try {
const res = await api.provincias.create(newProvincia);
} catch (error) {
Expand Down
1 change: 0 additions & 1 deletion frontend/src/pages/hoteles/HotelFormPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export default function HotelFormPage() {
const { id: direccion } = await api.direcciones.create(newDireccion);

const newHotel = { nombre, direccion, categoria, encargado };
console.log(newHotel);
await api.hoteles.create(newHotel);

navigate("/hoteles");
Expand Down

0 comments on commit 994a4cd

Please sign in to comment.