fix: Update PrimeReact to v10.8.3 and fix all compilation errors

This commit is contained in:
dahoud
2025-10-13 03:01:36 +00:00
parent 2a2e54c0e3
commit 30cad6220b
85 changed files with 928 additions and 2020 deletions

View File

@@ -620,7 +620,7 @@ const EquipesPage = () => {
<Tag key={specialite} value={specialite} severity="info" />
))}
{(rowData.specialites?.length || 0) > 2 && (
<Tag value={`+${(rowData.specialites?.length || 0) - 2}`} severity="secondary" />
<Tag value={`+${(rowData.specialites?.length || 0) - 2}`} severity={"secondary" as any} />
)}
</div>
);
@@ -642,7 +642,7 @@ const EquipesPage = () => {
<Button
icon="pi pi-pencil"
size="small"
severity="secondary"
severity={"secondary" as any}
outlined
onClick={() => editEquipe(rowData)}
/>
@@ -718,7 +718,7 @@ const EquipesPage = () => {
<Button
icon="pi pi-pencil"
size="small"
severity="secondary"
severity={"secondary" as any}
outlined
onClick={() => editEmploye(rowData)}
/>
@@ -1351,4 +1351,6 @@ const EquipesPage = () => {
);
};
export default EquipesPage;
export default EquipesPage;