Fixed linting and formatting errors

This commit is contained in:
Kevin FEDYNA
2025-01-25 10:48:04 +01:00
parent 16b7579e10
commit 6d4d36e089
13 changed files with 118 additions and 36 deletions
@@ -15,7 +15,9 @@ interface Student {
}
export default function ConsultStudents_test() {
const [data, setData] = useState<{ promotions: Promotion[]; students: Student[] } | null>(null);
const [data, setData] = useState<
{ promotions: Promotion[]; students: Student[] } | null
>(null);
const [error, setError] = useState<string | null>(null);
useEffect(() => {
@@ -43,7 +45,7 @@ export default function ConsultStudents_test() {
{error && <p className="error">{error}</p>}
{data?.promotions.map((promo) => (
<div key={promo.id}>
<h3>Promotion: {promo.id}</h3>
<h3>Promotion: {promo.id}</h3>
<table>
<thead>
<tr>