fix: Explicitly type label as string in statutBodyTemplate
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user