added new image
This commit is contained in:
@@ -72,22 +72,22 @@ export default function RegisterAlta(props: urlProp) {
|
||||
await apiClient.post("/student", payload);
|
||||
|
||||
setSaved(true);
|
||||
|
||||
Swal.fire({
|
||||
title: "Alumno registrado correctamente!",
|
||||
icon: "success",
|
||||
draggable: true,
|
||||
});
|
||||
|
||||
|
||||
Swal.fire({
|
||||
title: "Alumno registrado correctamente!",
|
||||
icon: "success",
|
||||
draggable: true,
|
||||
});
|
||||
|
||||
} catch (error) {
|
||||
console.error("Error al guardar alumno:", error);
|
||||
|
||||
Swal.fire({
|
||||
title: "Error al guardar alumno:!",
|
||||
icon: "error",
|
||||
draggable: true,
|
||||
});
|
||||
|
||||
|
||||
Swal.fire({
|
||||
title: "Error al guardar alumno:!",
|
||||
icon: "error",
|
||||
draggable: true,
|
||||
});
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user