Improvement: Allow enter to submit password form

feature/default_network_editable
Sean Rabaut 6 years ago
parent d34edaada1
commit 80a57d350c
  1. 8
      mascara/src/app/first-time/create-password-screen.js

@ -63,7 +63,9 @@ class CreatePasswordScreen extends Component {
return password === confirmPassword return password === confirmPassword
} }
createAccount = () => { createAccount = (event) => {
event.preventDefault()
if (!this.isValid()) { if (!this.isValid()) {
return return
} }
@ -127,7 +129,7 @@ class CreatePasswordScreen extends Component {
It allows you to hold ether & tokens, and interact with decentralized applications. It allows you to hold ether & tokens, and interact with decentralized applications.
</div> </div>
</div>} </div>}
<div className="create-password"> <form className="create-password">
<div className="create-password__title"> <div className="create-password__title">
Create Password Create Password
</div> </div>
@ -188,7 +190,7 @@ class CreatePasswordScreen extends Component {
</a> </a>
{ */ } { */ }
<Breadcrumbs total={3} currentIndex={0} /> <Breadcrumbs total={3} currentIndex={0} />
</div> </form>
</div> </div>
</div> </div>
) )

Loading…
Cancel
Save