File tree 1 file changed +7
-5
lines changed
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';
3
3
import AuthUserContext from './context' ;
4
4
import { withFirebase } from '../Firebase' ;
5
5
6
+ import { Button } from 'semantic-ui-react'
7
+
6
8
const needsEmailVerification = authUser =>
7
9
authUser &&
8
10
! authUser . emailVerified &&
@@ -32,25 +34,25 @@ const withEmailVerification = Component => {
32
34
< div >
33
35
{ this . state . isSent ? (
34
36
< p >
35
- E-Mail confirmation sent: Check you E-Mails (Spam
37
+ E-Mail confirmation sent: Check your E-Mails (Spam
36
38
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.
38
40
</ p >
39
41
) : (
40
42
< p >
41
- Verify your E-Mail: Check you E-Mails (Spam folder
43
+ Verify your E-Mail: Check your E-Mails (Spam folder
42
44
included) for a confirmation E-Mail or send
43
45
another confirmation E-Mail.
44
46
</ p >
45
47
) }
46
48
47
- < button
49
+ < Button
48
50
type = "button"
49
51
onClick = { this . onSendEmailVerification }
50
52
disabled = { this . state . isSent }
51
53
>
52
54
Send confirmation E-Mail
53
- </ button >
55
+ </ Button >
54
56
</ div >
55
57
) : (
56
58
< Component { ...this . props } />
You can’t perform that action at this time.
0 commit comments