From 0c84ef787489e10385b09e3bfe38c78bec35abe1 Mon Sep 17 00:00:00 2001 From: dahoud Date: Thu, 16 Oct 2025 01:34:15 +0000 Subject: [PATCH] fix: Explicitly type label as string in typeBodyTemplate --- app/(main)/rapports/ca/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/(main)/rapports/ca/page.tsx b/app/(main)/rapports/ca/page.tsx index 3ad3ca0..63ea3d5 100644 --- a/app/(main)/rapports/ca/page.tsx +++ b/app/(main)/rapports/ca/page.tsx @@ -337,7 +337,7 @@ const ChiffreAffairesPage = () => { const typeBodyTemplate = (rowData: CADetail) => { let severity: "success" | "warning" | "danger" | "info" = 'info'; - let label = rowData.type; + let label: string = rowData.type; switch (rowData.type) { case 'FACTURE':