Skip to content

Commit

Permalink
Merge pull request #2619 from irontec/PROVIDER-1759-when-selecting-a-…
Browse files Browse the repository at this point in the history
…company-a-loop-is-generated-recovering-the-country

Fetch country infinite request loop
  • Loading branch information
cruzccl authored Apr 11, 2024
2 parents 7fe7f2c + 3e7dae0 commit 2f50181
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const useDefaultCountryId = (props: useDefaultCountryIdProps): void => {
formik.setFieldValue('country', countryId);
},
});
}, [create, companyId, formik, apiGet]);
}, [create, companyId, apiGet]);
};

export default useDefaultCountryId;

0 comments on commit 2f50181

Please sign in to comment.