From 3e7dae02e607519fdbee46b0b5d350ba3d764935 Mon Sep 17 00:00:00 2001 From: rgomez Date: Thu, 11 Apr 2024 09:56:10 +0200 Subject: [PATCH] portal/brand: When selecting a company a loop is generated recovering the country --- web/portal/brand/src/entities/Ddi/hooks/useDefaultCountryId.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/portal/brand/src/entities/Ddi/hooks/useDefaultCountryId.tsx b/web/portal/brand/src/entities/Ddi/hooks/useDefaultCountryId.tsx index 5d5cd5069b4..ac0927c7ff5 100644 --- a/web/portal/brand/src/entities/Ddi/hooks/useDefaultCountryId.tsx +++ b/web/portal/brand/src/entities/Ddi/hooks/useDefaultCountryId.tsx @@ -40,7 +40,7 @@ const useDefaultCountryId = (props: useDefaultCountryIdProps): void => { formik.setFieldValue('country', countryId); }, }); - }, [create, companyId, formik, apiGet]); + }, [create, companyId, apiGet]); }; export default useDefaultCountryId;