diff --git a/app/(private)/InformacionEquipo/page.tsx b/app/(private)/InformacionEquipo/page.tsx index 8b62831..9645f0e 100644 --- a/app/(private)/InformacionEquipo/page.tsx +++ b/app/(private)/InformacionEquipo/page.tsx @@ -6,7 +6,7 @@ import "./informacionequipo.css"; export default async function Page(props: { searchParams?: Promise<{ - key?:string; + key?: string; machine?: string; }>; }) { diff --git a/app/Components/InformacionEquipos/ProgramSelector.tsx b/app/Components/InformacionEquipos/ProgramSelector.tsx index fd0cf9d..0459d34 100644 --- a/app/Components/InformacionEquipos/ProgramSelector.tsx +++ b/app/Components/InformacionEquipos/ProgramSelector.tsx @@ -51,7 +51,6 @@ function ProgramSelector({ titulo, opcion }: DatosEquipo) { programas.reduce((acc, prog) => ({ ...acc, [prog]: false }), {}) ); - // Función al cambiar el select const handleChangeEquipo = (e: React.ChangeEvent) => { const equipo = e.target.value; setEquipoSeleccionado(equipo); @@ -74,10 +73,13 @@ function ProgramSelector({ titulo, opcion }: DatosEquipo) { Object.keys(checkboxes).filter((p) => checkboxes[p]) ); }; - //hola madefoker + return (
+ + + + + {areas.map((area) => ( + + ))} + + + ); +}