From ff088d5171327ca3958dde02f30e5108885af6a5 Mon Sep 17 00:00:00 2001 From: cesarLima1 Date: Tue, 5 Nov 2024 14:29:29 -0400 Subject: [PATCH] [TM-1437] add correct reference to active country data --- src/pages/dashboard/index.page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/dashboard/index.page.tsx b/src/pages/dashboard/index.page.tsx index 08c62851f..3f33840fd 100644 --- a/src/pages/dashboard/index.page.tsx +++ b/src/pages/dashboard/index.page.tsx @@ -164,8 +164,8 @@ const Dashboard = () => { } ]; - const DATA_ACTIVE_PROGRAMME = Array.isArray(activeCountries) - ? activeCountries.map( + const DATA_ACTIVE_PROGRAMME = Array.isArray(activeCountries?.data) + ? activeCountries?.data.map( (item: { country: string; country_slug: string;