fix: Explicitly type label as string in statutBodyTemplate

This commit is contained in:
dahoud
2025-10-16 09:12:14 +00:00
parent 20c7bbada3
commit c377291608
2 changed files with 2 additions and 2 deletions

View File

@@ -359,7 +359,7 @@ const ChiffreAffairesPage = () => {
const statutBodyTemplate = (rowData: CADetail) => {
let severity: "success" | "warning" | "danger" = 'success';
let label = rowData.statut;
let label: string = rowData.statut;
switch (rowData.statut) {
case 'PAYE':