fixed button
This commit is contained in:
@@ -41,13 +41,15 @@ function QuitarSancion({ id_cuenta }: { id_cuenta: number }) {
|
||||
return (
|
||||
<section className="containerSection">
|
||||
<TableSanction alumnoSanciones={alumnoSanciones} alumno={alumno} />
|
||||
<button
|
||||
className="button buttonSearch"
|
||||
style={{ margin: "1rem 0" }}
|
||||
onClick={handleButton}
|
||||
>
|
||||
Quitar sancion
|
||||
</button>
|
||||
{(alumnoSanciones?.length > 0) &&
|
||||
<button
|
||||
className="button buttonSearch"
|
||||
style={{ margin: "1rem 0" }}
|
||||
onClick={handleButton}
|
||||
>
|
||||
Quitar sancion
|
||||
</button>
|
||||
}
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user