// @flow import { SITE_NAME } from 'config'; import * as ICONS from 'constants/icons'; import React, { Fragment } from 'react'; import Button from 'component/button'; import CardVerify from 'component/cardVerify'; import { Lbryio } from 'lbryinc'; import Card from 'component/common/card'; import I18nMessage from 'component/i18nMessage'; import LbcSymbol from 'component/common/lbc-symbol'; type Props = { errorMessage: ?string, isPending: boolean, verifyUserIdentity: string => void, verifyPhone: () => void, fetchUser: () => void, skipLink?: string, onSkip: () => void, }; class UserVerify extends React.PureComponent { constructor() { super(); (this: any).onToken = this.onToken.bind(this); } onToken(data: { id: string }) { this.props.verifyUserIdentity(data.id); } render() { const { errorMessage, isPending, verifyPhone, fetchUser, onSkip } = this.props; const skipButtonProps = { onClick: onSkip, }; return (

{__('')} , }} > Verify to earn %lbc%

), Refresh:

); } } export default UserVerify;