Skip to content

Commit 78b3197

Browse files
committed
chore: remove default country code values
1 parent 8678f61 commit 78b3197

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/App/Containers/RealAccountSignup/account-wizard.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ const AccountWizard = observer(props => {
197197

198198
React.useEffect(() => {
199199
if (residence_list.length) {
200-
const setDefaultPhone = country_code => {
200+
const setDefaultPhone = () => {
201201
let items;
202202
if (state_items.length) {
203203
items = state_items;
@@ -206,7 +206,7 @@ const AccountWizard = observer(props => {
206206
}
207207

208208
if (items.length > 1 && 'phone' in items[1]?.form_value && !isCountryCodeDropdownEnabled) {
209-
items[1].form_value.phone = items[1].form_value.phone || country_code || '';
209+
items[1].form_value.phone = items[1].form_value.phone || '';
210210
setStateItems(items);
211211
setRealAccountSignupFormData(items);
212212
}

0 commit comments

Comments
 (0)