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

@@ -297,9 +297,9 @@ const DashboardTempsReel = () => {
<div className="text-xs text-color-secondary mt-1">
{alerte.heure.toLocaleTimeString('fr-FR')}
</div>
<Tag
value={alerte.type}
severity={config.color}
<Tag
value={alerte.type}
severity={config.color as any}
className="mt-2"
/>
</div>
@@ -345,7 +345,7 @@ const DashboardTempsReel = () => {
header="Urgence"
body={(rowData) => {
const config = getUrgenceConfig(rowData.urgence);
return <Tag value={config.label} severity={config.color} />;
return <Tag value={config.label} severity={config.color as any} />;
}}
/>
@@ -467,4 +467,5 @@ const DashboardTempsReel = () => {
);
};
export default DashboardTempsReel;
export default DashboardTempsReel;