diff --git a/web/src/ProviderEditPage.js b/web/src/ProviderEditPage.js index d232cff9..417e1df1 100644 --- a/web/src/ProviderEditPage.js +++ b/web/src/ProviderEditPage.js @@ -24,7 +24,7 @@ import * as ProviderEditTestSms from "./TestSmsWidget"; import copy from "copy-to-clipboard"; import {CaptchaPreview} from "./common/CaptchaPreview"; import * as OrganizationBackend from "./backend/OrganizationBackend"; -import {PhoneNumberInput} from "./common/PhoneNumberInput"; +import {CountryCodeSelect} from "./common/CountryCodeSelect"; const {Option} = Select; const {TextArea} = Input; @@ -667,7 +667,7 @@ class ProviderEditPage extends React.Component { - { diff --git a/web/src/UserEditPage.js b/web/src/UserEditPage.js index 292fbc1f..4e6082f1 100644 --- a/web/src/UserEditPage.js +++ b/web/src/UserEditPage.js @@ -29,7 +29,7 @@ import SelectRegionBox from "./SelectRegionBox"; import WebAuthnCredentialTable from "./WebauthnCredentialTable"; import ManagedAccountTable from "./ManagedAccountTable"; import PropertyTable from "./propertyTable"; -import {PhoneNumberInput} from "./common/PhoneNumberInput"; +import {CountryCodeSelect} from "./common/CountryCodeSelect"; const {Option} = Select; @@ -312,7 +312,7 @@ class UserEditPage extends React.Component { - - @@ -452,7 +440,6 @@ class SignupPage extends React.Component { return ( { +export const CountryCodeSelect = (props) => { const {onChange, style, disabled, value} = props; const countryCodes = props.countryCodes ?? [];