import React from 'react';
import { Modal } from 'modal/modal';
import Button from 'component/button';
import UserPhoneNew from 'component/userPhoneNew';
import UserPhoneVerify from 'component/userPhoneVerify';
class ModalPhoneCollection extends React.PureComponent {
renderInner() {
const { closeModal, phone, user } = this.props;
const cancelButton = ;
if (!user.phone_number && !phone) {
return ;
} else if (!user.phone_number) {
return ;
}
closeModal();
}
render() {
const { user } = this.props;
// this shouldn't happen
if (!user) {
return null;
}
return (
Verify Your Phone
{this.renderInner()}
);
}
}
export default ModalPhoneCollection;