import React from "react"; import { CreditAmount } from "component/common"; import CardVerify from "component/cardVerify"; class UserVerify extends React.PureComponent { constructor(props) { super(props); this.state = { code: "", }; } handleCodeChanged(event) { this.setState({ code: event.target.value, }); } onToken(data) { this.props.verifyUserIdentity(data.id); } render() { const { errorMessage, isPending, reward } = this.props; return (
{(!reward || !reward.transaction_id) &&

Please link a credit card to confirm your identity and receive{" "} {reward ? : your reward}

}

{__("This is to prevent abuse. You will not be charged.")}

{errorMessage &&

{errorMessage}

}
); } } export default UserVerify;