From cca87bd16afcc234e6f4c8885e7f76565cdc568e Mon Sep 17 00:00:00 2001 From: sundasnoreen12 Date: Sat, 22 Feb 2025 15:18:29 +0500 Subject: [PATCH] fix: fixed issue by removing empty array --- src/register/components/ConfigurableRegistrationForm.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/register/components/ConfigurableRegistrationForm.jsx b/src/register/components/ConfigurableRegistrationForm.jsx index 01922280..cd1f36b1 100644 --- a/src/register/components/ConfigurableRegistrationForm.jsx +++ b/src/register/components/ConfigurableRegistrationForm.jsx @@ -88,7 +88,7 @@ const ConfigurableRegistrationForm = (props) => { }, [countries]); const countryList = useMemo(() => removeDisabledCountries( - getCountryList(getLocale()).concat([{ code: 'US', name: 'United States' }]), []), [removeDisabledCountries]); + getCountryList(getLocale()).concat([{ code: 'US', name: 'United States' }])), [removeDisabledCountries]); const handleErrorChange = (fieldName, error) => { if (fieldName) {