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

@@ -385,7 +385,7 @@ const DashboardPlanningContent = () => {
const ressourcesBodyTemplate = (rowData: PlanningEvent) => (
<div className="flex flex-wrap gap-1">
{rowData.ressources.slice(0, 2).map((ressource, index) => (
<Tag key={index} value={ressource} severity="secondary" className="text-xs" />
<Tag key={index} value={ressource} severity={"secondary" as any} className="text-xs" />
))}
{rowData.ressources.length > 2 && (
<Tag value={`+${rowData.ressources.length - 2}`} severity="info" className="text-xs" />
@@ -530,8 +530,7 @@ const DashboardPlanningContent = () => {
onChange={(e) => setDateRange(e.value as Date[])}
selectionMode="range"
readOnlyInput
hideOnRangeSelection
className="w-full md:w-14rem"
className="w-full md:w-14rem"
placeholder="Sélectionner une période"
/>
</div>
@@ -710,3 +709,4 @@ const DashboardPlanning = () => {
};
export default DashboardPlanning;