fix: Update PrimeReact and fix all compilation errors
This commit is contained in:
3
app/(main)/employes/page.tsx
Normal file → Executable file
3
app/(main)/employes/page.tsx
Normal file → Executable file
@@ -125,7 +125,7 @@ const EmployesPageContent = () => {
|
||||
}
|
||||
};
|
||||
|
||||
return <Tag value={rowData.statut} severity={getSeverity(rowData.statut)} />;
|
||||
return <Tag value={rowData.statut} severity={getSeverity(rowData.statut) as any} />;
|
||||
};
|
||||
|
||||
const actionBodyTemplate = (rowData: Employe) => {
|
||||
@@ -267,6 +267,7 @@ const EmployesPageContent = () => {
|
||||
header={header}
|
||||
selection={selectedEmployes}
|
||||
onSelectionChange={(e) => setSelectedEmployes(e.value)}
|
||||
selectionMode="multiple"
|
||||
responsiveLayout="scroll"
|
||||
>
|
||||
<Column selectionMode="multiple" headerStyle={{ width: '3rem' }} />
|
||||
|
||||
Reference in New Issue
Block a user