File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ import React from 'react';
33import AuthUserContext from './context' ;
44import { withFirebase } from '../Firebase' ;
55
6+ import { Button } from 'semantic-ui-react'
7+
68const needsEmailVerification = authUser =>
79 authUser &&
810 ! authUser . emailVerified &&
@@ -32,25 +34,25 @@ const withEmailVerification = Component => {
3234 < div >
3335 { this . state . isSent ? (
3436 < p >
35- E-Mail confirmation sent: Check you E-Mails (Spam
37+ E-Mail confirmation sent: Check your E-Mails (Spam
3638 folder included) for a confirmation E-Mail.
37- Refresh this page once you confirmed your E-Mail.
39+ Refresh this page once you have confirmed your E-Mail.
3840 </ p >
3941 ) : (
4042 < p >
41- Verify your E-Mail: Check you E-Mails (Spam folder
43+ Verify your E-Mail: Check your E-Mails (Spam folder
4244 included) for a confirmation E-Mail or send
4345 another confirmation E-Mail.
4446 </ p >
4547 ) }
4648
47- < button
49+ < Button
4850 type = "button"
4951 onClick = { this . onSendEmailVerification }
5052 disabled = { this . state . isSent }
5153 >
5254 Send confirmation E-Mail
53- </ button >
55+ </ Button >
5456 </ div >
5557 ) : (
5658 < Component { ...this . props } />
You can’t perform that action at this time.
0 commit comments