// Copyright (c) 2015 Spinpunch, Inc. All Rights Reserved. // See License.txt for license information. import {config} from '../utils/config.js'; 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 = config.SiteName + ' Email Verified'; body =

Your email has been verified! Click Please verify your email address. Check your inbox for an email.

; resend = (); } return (

{title}

{body} {resend}
); } } EmailVerify.defaultProps = { isVerified: 'false', teamURL: '', userEmail: '' }; EmailVerify.propTypes = { isVerified: React.PropTypes.string, teamURL: React.PropTypes.string, userEmail: React.PropTypes.string };