fix: Update PrimeReact to v10.8.3 and fix all compilation errors
This commit is contained in:
@@ -106,7 +106,7 @@ const ExecutionGranulaireChantier = () => {
|
||||
const [difficulte, setDifficulte] = useState<'AUCUNE' | 'FAIBLE' | 'MOYENNE' | 'ELEVEE'>('AUCUNE');
|
||||
|
||||
// États pour la vue
|
||||
const [activeIndex, setActiveIndex] = useState<number>(0);
|
||||
const [activeIndex, setActiveIndex] = useState<number | number[]>(0);
|
||||
const [expandedKeys, setExpandedKeys] = useState<any>({});
|
||||
|
||||
useEffect(() => {
|
||||
@@ -560,4 +560,4 @@ const ExecutionGranulaireChantier = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export default ExecutionGranulaireChantier;
|
||||
export default ExecutionGranulaireChantier;
|
||||
|
||||
Reference in New Issue
Block a user