1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-04-06 01:15:28 +02:00

typ0 and default to submit form

This commit is contained in:
sveisvei 2016-12-27 13:11:04 +01:00
parent 1291a664b7
commit 410ecf7867

View File

@ -47,7 +47,7 @@ class EditUserComponent extends React.Component {
<h2>Action required</h2> <h2>Action required</h2>
<div> <div>
<p> <p>
You hav to specify a username to use Unleash. This will allow us to track changes. You have to specify a username to use Unleash. This will allow us to track your changes.
</p> </p>
<form onSubmit={this.handleSubmit}> <form onSubmit={this.handleSubmit}>
<Textfield <Textfield
@ -58,7 +58,7 @@ class EditUserComponent extends React.Component {
onChange={(e) => this.props.updateUserName(e.target.value)} onChange={(e) => this.props.updateUserName(e.target.value)}
/> />
<br /> <br />
<Button raised accent onClick={this.props.save}>Save</Button> <Button raised accent>Save</Button>
</form> </form>
</div> </div>
</Modal> </Modal>