fix: Update PrimeReact to v10.8.3 and fix all compilation errors
This commit is contained in:
@@ -291,7 +291,7 @@ const DashboardResumeQuotidien = () => {
|
||||
};
|
||||
|
||||
const evenementStatutTemplate = (rowData: EvenementQuotidien) => (
|
||||
<Tag value={rowData.statut} severity={getStatutSeverity(rowData.statut)} />
|
||||
<Tag value={rowData.statut} severity={getStatutSeverity(rowData.statut) as any} />
|
||||
);
|
||||
|
||||
const evenementTypeTemplate = (rowData: EvenementQuotidien) => (
|
||||
@@ -325,9 +325,9 @@ const DashboardResumeQuotidien = () => {
|
||||
return (
|
||||
<div>
|
||||
<div className="text-sm">{echeance.toLocaleDateString('fr-FR')}</div>
|
||||
<Tag
|
||||
<Tag
|
||||
value={diffDays < 0 ? 'Échue' : `${diffDays} jours`}
|
||||
severity={severity}
|
||||
severity={severity as any}
|
||||
className="text-xs mt-1"
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user