fix: Update PrimeReact and fix all compilation errors

This commit is contained in:
Lions Dev
2025-10-13 05:18:02 +02:00
parent 6ebca4945c
commit 96eb956b0b
793 changed files with 11998 additions and 10690 deletions

10
app/(main)/planning/materiel/page.tsx Normal file → Executable file
View File

@@ -754,10 +754,10 @@ const MaterielPage = () => {
<div className="flex align-items-center gap-2">
<Badge value={maintenancesMatériel.length} />
{maintenancesPrevues > 0 && (
<Tag value={`${maintenancesPrevues} prévue(s)`} severity="info" size="small" />
<Tag value={`${maintenancesPrevues} prévue(s)`} severity="info" size="normal" />
)}
{maintenancesEnCours > 0 && (
<Tag value={`${maintenancesEnCours} en cours`} severity="warning" size="small" />
<Tag value={`${maintenancesEnCours} en cours`} severity="warning" size="normal" />
)}
</div>
);
@@ -1144,7 +1144,7 @@ const MaterielPage = () => {
<Button
label="Historique"
icon="pi pi-history"
severity="secondary"
severity={"secondary" as any}
size="small"
className="p-button-text p-button-rounded"
onClick={() => {
@@ -1549,4 +1549,6 @@ const MaterielPage = () => {
);
};
export default MaterielPage;
export default MaterielPage;