fix: fixed issue by removing empty array

This commit is contained in:
sundasnoreen12
2025-02-22 15:18:29 +05:00
parent 206c4c887b
commit cca87bd16a

View File

@@ -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) {