diff --git a/frontend/src/routes/guest/register/steps/register.tsx b/frontend/src/routes/guest/register/steps/register.tsx index fda66825014e3b60836ff6ae333d89893aa8f95d..6688df1a3b3855ad57c30b592a4c22a7a9c1653c 100644 --- a/frontend/src/routes/guest/register/steps/register.tsx +++ b/frontend/src/routes/guest/register/steps/register.tsx @@ -63,7 +63,7 @@ const GuestRegisterStep = forwardRef( // components directly to the form-field using useForm const [countryCode, setCountryCode] = useState< CountryCallingCode | undefined - >("NO") + >('NO') const [passportNationality, setPassportNationality] = useState< string | undefined >(undefined) @@ -506,7 +506,7 @@ const GuestRegisterStep = forwardRef( displayEmpty onChange={handleCountryCodeChange} label={t('input.countryCallingCode')} - value={countryCode ? countryCode.toString(): "NO"} + value={countryCode ? countryCode.toString() : 'NO'} renderValue={(selected: any) => { if (!selected || selected.length === 0) { return t('input.countryCallingCode') @@ -521,7 +521,6 @@ const GuestRegisterStep = forwardRef( 'data-testid': 'phone-country-code-select-inner', }} > - {sortedPhoneCountries.map((country) => ( <MenuItem key={country[0]} value={country[0]}> {country[1]} ({country[2]})