import React, { Component } from "react" import { Link } from 'react-router-dom' import { Container, Header, Button, Message, Icon } from "semantic-ui-react"; class WaitConfirmEmail extends Component { constructor(props) { super(props); this.handleSendConfirmEmail = this.handleSendConfirmEmail.bind(this); } handleSendConfirmEmail(event) { this.props.sendConfirmEmail(this.props.user.userId).then(loginMessage => { if (loginMessage) { // report to the user is there was a problem during login this.setState({ loginMessage }); } }); }; render() { return( Confirm your email address

We sent an email to the address you gave us: {this.props.user.email}
Please click on the link in the email to verify the email address.

Didn't get an email?

So, you have waited a bit and haven't gotten anything?

...and you checked your spam folder?

Well, click below.