Commit 78b3197 1 parent 8678f61 commit 78b3197 Copy full SHA for 78b3197
File tree 1 file changed +2
-2
lines changed
packages/core/src/App/Containers/RealAccountSignup
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ const AccountWizard = observer(props => {
197
197
198
198
React . useEffect ( ( ) => {
199
199
if ( residence_list . length ) {
200
- const setDefaultPhone = country_code => {
200
+ const setDefaultPhone = ( ) => {
201
201
let items ;
202
202
if ( state_items . length ) {
203
203
items = state_items ;
@@ -206,7 +206,7 @@ const AccountWizard = observer(props => {
206
206
}
207
207
208
208
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 || '' ;
210
210
setStateItems ( items ) ;
211
211
setRealAccountSignupFormData ( items ) ;
212
212
}
You can’t perform that action at this time.
0 commit comments