diff --git a/src/components/Teacher/CrearProfesor/FormProfesor.js b/src/components/Teacher/CrearProfesor/FormProfesor.js index b33f52c..324fb7c 100644 --- a/src/components/Teacher/CrearProfesor/FormProfesor.js +++ b/src/components/Teacher/CrearProfesor/FormProfesor.js @@ -140,7 +140,7 @@ const FormProfesor = () => { let imageUrl = ""; if (fotoBase64) { - imageUrl = await uploadImage(fotoBase64, nombre); + imageUrl = await uploadImage(fotoBase64, id_usuario); } const updatedDatosAcademicos = datosAcademicos.map(dato => ({ diff --git a/src/components/Teacher/PerfilProfesor/PerfilProfesor.css b/src/components/Teacher/PerfilProfesor/PerfilProfesor.css index 3675770..d3e8f54 100644 --- a/src/components/Teacher/PerfilProfesor/PerfilProfesor.css +++ b/src/components/Teacher/PerfilProfesor/PerfilProfesor.css @@ -3,6 +3,7 @@ align-items: center; justify-content: space-evenly; margin-bottom: 20px; + gap: 20px; } .foto {