Skip to content

Commit

Permalink
Added explanatory text re: verifying email
Browse files Browse the repository at this point in the history
  • Loading branch information
Linda Peng authored and Linda Peng committed Apr 13, 2021
1 parent 60f4594 commit 56b2602
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/components/Auth/VerifyEmail.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,24 @@ const VerifyEmail = () => {
setError(e.message);
});
} else {
setError('There is no key in the URL string.');
setError('There is no key in the URL.');
}
}, [key]);

return (
<div>
<div>
{verifyStatus && <span>{`${verifyStatus}`}</span>}
{verifyStatus ? (
<span>{`${verifyStatus}`}</span>
) : (
<p>
Thank you for signing up! Please check your email to verify your
account.
</p>
)}
{error && <span style={{ color: 'red' }}>{`${error}`}</span>}
<br />
<Link to="/">go back home</Link>
<Link to="/">Home</Link>
</div>
</div>
);
Expand Down

0 comments on commit 56b2602

Please sign in to comment.