Skip to content

Commit

Permalink
remove duplicate phone numbers from examples (#4860)
Browse files Browse the repository at this point in the history
  • Loading branch information
esauerbo authored Dec 18, 2023
1 parent 7513871 commit 977b7c5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class SignInWithPhoneComponent implements OnInit {
signUp: {
phone_number: {
dialCode: '+227',
dialCodeList: ['+1', '+82', '+227', '+100', '+227'],
dialCodeList: ['+1', '+82', '+227', '+100'],
},
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const formFields = {
signUp: {
phone_number: {
dialCode: '+227',
dialCodeList: ['+1', '+82', '+227', '+100', '+227'],
dialCodeList: ['+1', '+82', '+227', '+100'],
},
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const formFields = {
signUp: {
phone_number: {
dialCode: '+227',
dialCodeList: ['+1', '+82', '+227', '+100', '+227'],
dialCodeList: ['+1', '+82', '+227', '+100'],
},
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,14 @@ const formFields = {
signUp: {
phone_number: {
dialCode: '+227',
dialCodeList: ['+1', '+82', '+227', '+100', '+227'],
dialCodeList: ['+1', '+82', '+227', '+100'],
},
},
};
</script>

<template>
<authenticator
:form-fields="formFields"
:sign-up-attributes="['phone_number']"
>
<authenticator :form-fields="formFields" :sign-up-attributes="['phone_number']">
<template v-slot="{ user, signOut }">
<h1>Hello {{ user.username }}!</h1>
<button @click="signOut">Sign Out</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Feature: Sign In with Phone Number
@angular @react @vue
Scenario: Sign up and replace dial code list
When I click the "Create Account" tab
Then the 'Country code' select drop down should have a length of '5'
Then the 'Country code' select drop down should have a length of '4'
Then the 'Country code' select drop down is '+227'

@angular @react @vue @react-native
Expand Down

0 comments on commit 977b7c5

Please sign in to comment.