fixing little things

This commit is contained in:
2026-01-28 17:29:07 -06:00
parent bf555f02ab
commit 64737fcab6
2 changed files with 3 additions and 6 deletions
+2 -4
View File
@@ -4,7 +4,6 @@ import Information from "@/app/Components/Global/Information/information";
import SearchUser from "@/app/Components/Global/SearchUser/searchUser";
import ShowError from "@/app/Components/Global/ShowError";
import Toggle from "@/app/Components/Global/Toggle/Toggle";
import Table from "@/app/Components/Global/table";
import { envConfig } from "@/app/lib/config";
import { GetRegisterStudent } from "@/app/lib/getRegisterStudent";
@@ -23,8 +22,6 @@ async function getInscripcion(idCuenta: number) {
}
}
const headers = ["Inscrito", "Tiempo", "Confirmó"];
export default async function Page(props: {
searchParams?: Promise<{
key?: string;
@@ -88,13 +85,14 @@ export default async function Page(props: {
<Information
NoCuenta={student.id_cuenta}
nombre={student.nombre}
carrera={student.carrera}
/>
<Table headers={headers} data={tableData} />
</div>
<AsignacionMesas
idCuenta={student.id_cuenta}
inscripcion={inscripcion}
/>
</>
)}
+1 -2
View File
@@ -5,8 +5,8 @@ import { envConfig } from "@/app/lib/config";
import toast from "react-hot-toast";
type Props = {
idCuenta: number;
inscripcion: any[];
idCuenta: number;
};
export default function AsignacionMesas({
@@ -33,7 +33,6 @@ export default function AsignacionMesas({
setPuedeContinuar(true);
}, [inscripcion]);
useEffect(() => {
if (!puedeContinuar || !idCuenta) return;