fix for red screen during phone number verification
This commit is contained in:
parent
3283cc447e
commit
7c969cbe93
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class PhoneNumberRewardSubcard extends React.PureComponent {
|
||||||
DeviceEventEmitter.addListener('onVerificationCodeReceived', this.receiveVerificationCode);
|
DeviceEventEmitter.addListener('onVerificationCodeReceived', this.receiveVerificationCode);
|
||||||
|
|
||||||
const { phone } = this.props;
|
const { phone } = this.props;
|
||||||
if (phone && String(phone).trim().length() > 0) {
|
if (phone && String(phone).trim().length > 0) {
|
||||||
this.setState({ newPhoneAdded: true });
|
this.setState({ newPhoneAdded: true });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue