From 74c81f760219857427b12c7d160a2720fbf40b4f Mon Sep 17 00:00:00 2001 From: schnogz Date: Fri, 8 Jun 2018 16:22:33 -0400 Subject: [PATCH] fix build issues --- .../src/components/Form/PhoneNumberBox/index.js | 2 +- .../src/modals/SfoxExchangeData/Create/VerifyMobile.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/blockchain-wallet-v4-frontend/src/components/Form/PhoneNumberBox/index.js b/packages/blockchain-wallet-v4-frontend/src/components/Form/PhoneNumberBox/index.js index 711501fd311..0037f2821c3 100644 --- a/packages/blockchain-wallet-v4-frontend/src/components/Form/PhoneNumberBox/index.js +++ b/packages/blockchain-wallet-v4-frontend/src/components/Form/PhoneNumberBox/index.js @@ -36,7 +36,7 @@ const PhoneNumberBox = (field) => { const handler = (status, value, countryData, number, id) => { field.input.onChange(number) } - const upperCountryCode = prop('countryCode', field).getOrElse('US') + const upperCountryCode = prop('countryCode', field) || 'US' const countryCode = upperCountryCode && toLower(upperCountryCode) return ( diff --git a/packages/blockchain-wallet-v4-frontend/src/modals/SfoxExchangeData/Create/VerifyMobile.js b/packages/blockchain-wallet-v4-frontend/src/modals/SfoxExchangeData/Create/VerifyMobile.js index fe64ba9a047..72ec11a9e74 100644 --- a/packages/blockchain-wallet-v4-frontend/src/modals/SfoxExchangeData/Create/VerifyMobile.js +++ b/packages/blockchain-wallet-v4-frontend/src/modals/SfoxExchangeData/Create/VerifyMobile.js @@ -62,7 +62,7 @@ class VerifyMobile extends Component { } render () { - const { ui, invalid, mobileCode, mobileNumber, mobileVerifiedError } = this.props + const { ui, invalid, mobileCode, mobileNumber, mobileVerifiedError, countryCode, smsNumber } = this.props let smsHelper = () => { switch (true) { @@ -86,7 +86,7 @@ class VerifyMobile extends Component { - + { ui.create === 'change_mobile' &&