Modificacioneds

This commit is contained in:
santiago
2026-01-20 13:49:31 -06:00
parent 88afc64b7c
commit c780754c18
-3
View File
@@ -80,9 +80,6 @@ export default function Home() {
if (!url) throw new Error('Url no definida en las variables de entorno');
const payload: PayloadBusqueda = { tipoBusqueda: 'area', IdUnidadResponsable: areaId };
const response = await axios.post(url, payload);
console.log("respuesta", response)
if (Array.isArray(response.data) && response.data.length > 0) {
setResultados(response.data as Funcionario[]);
} else {