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

11
app/(main)/dashboard/temps-reel/page.tsx Normal file → Executable file
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;