From f0b8a818809a3f4ebf72c9801838086fd55786ed Mon Sep 17 00:00:00 2001 From: Willian Viana Date: Thu, 19 Dec 2024 14:03:10 -0300 Subject: [PATCH] fix(fao): remove old structure to access country list --- services/country.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/country.js b/services/country.js index bfdaca9884..6892454f5f 100644 --- a/services/country.js +++ b/services/country.js @@ -69,8 +69,8 @@ export const getCategorisedCountries = (asOptions = false) => ? convertToOptions(gadm36Countries.data.rows) : gadm36Countries.data.rows, faoCountries: asOptions - ? convertToOptions(faoCountries.data.rows) - : faoCountries.data.rows, + ? convertToOptions(faoCountries.data) + : faoCountries.data, countries: asOptions ? convertToOptions(gadm36Countries.data.rows) : gadm36Countries.data.rows,