From 0666877811ea52c649c6e0d6887f3574693ebaf3 Mon Sep 17 00:00:00 2001 From: Sergio Ramirez Date: Fri, 6 Mar 2026 13:23:53 -0400 Subject: [PATCH] correcciones tipado web para produccion --- .../feactures/training/components/training-list.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 (