feat: removed Russian Federation from country list (#1315)

This commit is contained in:
Awais Ansari
2024-09-10 21:11:44 +05:00
committed by GitHub
parent ecf4c3ae53
commit c1e63da778

View File

@@ -40,7 +40,10 @@ const ConfigurableRegistrationForm = (props) => {
States' instead of 'United States of America' which does not exist in country dropdown list and gets the user
confused and unable to create an account. So we added the United States entry in the dropdown list.
*/
const countryList = useMemo(() => getCountryList(getLocale()).concat([{ code: 'US', name: 'United States' }]), []);
const countryList = useMemo(() => (
getCountryList(getLocale()).concat([{ code: 'US', name: 'United States' }]).filter(country => country.code !== 'RU')
), []);
let showTermsOfServiceAndHonorCode = false;
let showCountryField = false;