// Copyright (c) 2015 Spinpunch, Inc. All Rights Reserved. // See License.txt for license information. export default class EmailVerify extends React.Component { constructor(props) { super(props); this.handleResend = this.handleResend.bind(this); this.state = {}; } handleResend() { window.location.href = window.location.href + '&resend=true'; } render() { var title = ''; var body = ''; var resend = ''; if (this.props.isVerified === 'true') { title = global.window.config.SiteName + ' Email Verified'; body =
Your email has been verified! Click here to log in.
; } else { title = global.window.config.SiteName + ' Email Not Verified'; body =Please verify your email address. Check your inbox for an email.
; resend = ( ); } return (