fix: On ne peut sélectionner que les élèves inscrits [#16]

This commit is contained in:
N3WT DE COMPET
2025-05-20 18:50:19 +02:00
parent 4f40d1f29d
commit 56c223f3cc
3 changed files with 20 additions and 7 deletions

View File

@ -104,7 +104,7 @@ export default function Page() {
useEffect(() => {
if (selectedEstablishmentId) {
fetchStudents(selectedEstablishmentId)
fetchStudents(selectedEstablishmentId, null, 5)
.then((studentsData) => {
setStudents(studentsData);
})