Fixes to Email page
Still not actually working (doing it in the welcome screen right now)
This commit is contained in:
parent
26aba5fb04
commit
326d066353
1 changed files with 2 additions and 7 deletions
|
@ -3,6 +3,7 @@ import lbryio from '../lbryio.js';
|
|||
import {getLocal, setLocal} from '../utils.js';
|
||||
import FormField from '../component/form.js'
|
||||
import {Link} from '../component/link.js'
|
||||
import rewards from '../rewards.js';
|
||||
|
||||
const EmailPage = React.createClass({
|
||||
handleSubmit: function(event) {
|
||||
|
@ -14,12 +15,6 @@ const EmailPage = React.createClass({
|
|||
this._emailField.warnRequired();
|
||||
}
|
||||
},
|
||||
getInitialState: function() {
|
||||
return {
|
||||
rewardType: null,
|
||||
email: null,
|
||||
};
|
||||
},
|
||||
componentWillMount: function() {
|
||||
this._getRewardType();
|
||||
},
|
||||
|
@ -27,7 +22,7 @@ const EmailPage = React.createClass({
|
|||
return (
|
||||
<main>
|
||||
<section className="card">
|
||||
<h1>Register a LBRY account</h1>
|
||||
<h1>Verify your Email Address</h1>
|
||||
<form onSubmit={this.handleSubmit}>
|
||||
<section><label>Email <FormField ref={(field) => { this._emailField = field }} type="text" name="email" value={this.state.email} /></label></section>
|
||||
<div><Link button="primary" label="Submit" onClick={this.handleSubmit} /></div>
|
||||
|
|
Loading…
Add table
Reference in a new issue