Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit aed3f01

Browse files
convert email verification button to semantic ui
1 parent 4b2efd0 commit aed3f01

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

‎src/components/Session/withEmailVerification.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import React from 'react';
33
import AuthUserContext from './context';
44
import { withFirebase } from '../Firebase';
55

6+
import { Button } from 'semantic-ui-react'
7+
68
const 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} />

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /