Fix
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import React, { useState, useEffect } from 'react';
|
||||
import './FormEditProfesor.css'; // Importa el archivo de estilos del formulario
|
||||
import './FormEditProfesor.css';
|
||||
|
||||
const Formulario = ({ profesor }) => {
|
||||
const [id_usuario, setId_usuario] = useState(profesor.id_usuario || '1');
|
||||
|
||||
@@ -36,6 +36,7 @@ const Mapeo = ({ filters }) => {
|
||||
})
|
||||
.then(data => {
|
||||
setProfesores(data.profesores);
|
||||
console.log(data)
|
||||
setTotalPages(data.totalPages);
|
||||
})
|
||||
.catch(error => {
|
||||
|
||||
@@ -21,7 +21,7 @@ const PerfilProfesor = ({ profesorId }) => {
|
||||
<div className="foto-nombre">
|
||||
<img src='https://www.cvexpres.com/wp-content/uploads/2023/01/los-objetivos-como-profesor-1.jpg' alt={profesor.nombre} className="foto" />
|
||||
<div className="info">
|
||||
<h2> Maria Juana Gutiernitos Chayanne</h2>
|
||||
<h2>Juana</h2>
|
||||
<p><strong>Categoría:</strong> Categoria YOLO</p>
|
||||
<p><strong>Adscripción:</strong> MAC</p>
|
||||
<p><strong>Ubicación:</strong> Aqui no mas</p>
|
||||
@@ -35,8 +35,8 @@ const PerfilProfesor = ({ profesorId }) => {
|
||||
<div className="datos-academicos">
|
||||
<h3>Datos académicos</h3>
|
||||
<ul>
|
||||
<li><strong>Grados máximos:</strong> Licenciatura</li>
|
||||
<li><strong>Grados obtenidos:</strong> Grado D</li>
|
||||
<p><strong>Categoría:</strong> Categoria YOLO</p>
|
||||
<p><strong>Adscripción:</strong> MAC</p>
|
||||
</ul>
|
||||
</div>
|
||||
<div className="lineas-investigacion">
|
||||
|
||||
Reference in New Issue
Block a user