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

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