diff --git a/apps/web/feactures/training/components/training-list.tsx b/apps/web/feactures/training/components/training-list.tsx index f471c05..28586a5 100644 --- a/apps/web/feactures/training/components/training-list.tsx +++ b/apps/web/feactures/training/components/training-list.tsx @@ -29,10 +29,18 @@ export default function TrainingList({ return ; } + const transformedData = + data?.data?.map((item) => ({ + ...item, + communeRif: item.communeRif || '', + communeSpokespersonName: item.communeSpokespersonName || '', + communalCouncilRif: item.communalCouncilRif || '', + })) || []; + return (