From 7c969cbe933095113b28038810407e70232382e1 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Wed, 26 Sep 2018 17:55:03 +0100 Subject: [PATCH] fix for red screen during phone number verification --- app/src/component/phoneNumberRewardSubcard/view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/component/phoneNumberRewardSubcard/view.js b/app/src/component/phoneNumberRewardSubcard/view.js index 5f2bb1f..7856c4f 100644 --- a/app/src/component/phoneNumberRewardSubcard/view.js +++ b/app/src/component/phoneNumberRewardSubcard/view.js @@ -44,7 +44,7 @@ class PhoneNumberRewardSubcard extends React.PureComponent { DeviceEventEmitter.addListener('onVerificationCodeReceived', this.receiveVerificationCode); const { phone } = this.props; - if (phone && String(phone).trim().length() > 0) { + if (phone && String(phone).trim().length > 0) { this.setState({ newPhoneAdded: true }); }