diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-11-12 02:54:15 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-11-12 02:54:15 +0800 |
commit | 3828edf6a4458a59161c445587f581c14baf50fe (patch) | |
tree | 82be9e55cac50249eff023d66cd3b9970ddadb76 /ui | |
parent | 23263bec7d5100accd61f7648fd9355fc95e2bb7 (diff) | |
download | tangerine-wallet-browser-3828edf6a4458a59161c445587f581c14baf50fe.tar tangerine-wallet-browser-3828edf6a4458a59161c445587f581c14baf50fe.tar.gz tangerine-wallet-browser-3828edf6a4458a59161c445587f581c14baf50fe.tar.bz2 tangerine-wallet-browser-3828edf6a4458a59161c445587f581c14baf50fe.tar.lz tangerine-wallet-browser-3828edf6a4458a59161c445587f581c14baf50fe.tar.xz tangerine-wallet-browser-3828edf6a4458a59161c445587f581c14baf50fe.tar.zst tangerine-wallet-browser-3828edf6a4458a59161c445587f581c14baf50fe.zip |
Typo fix.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/keychains/hd/recover-seed/confirmation.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ui/app/keychains/hd/recover-seed/confirmation.js b/ui/app/keychains/hd/recover-seed/confirmation.js index 83dbc270f..56ac461ea 100644 --- a/ui/app/keychains/hd/recover-seed/confirmation.js +++ b/ui/app/keychains/hd/recover-seed/confirmation.js @@ -5,10 +5,10 @@ const connect = require('react-redux').connect const h = require('react-hyperscript') const actions = require('../../../actions') -module.exports = connect(mapStateToProps)(RevealSeedConfirmatoin) +module.exports = connect(mapStateToProps)(RevealSeedConfirmation) -inherits(RevealSeedConfirmatoin, Component) -function RevealSeedConfirmatoin () { +inherits(RevealSeedConfirmation, Component) +function RevealSeedConfirmation () { Component.call(this) } @@ -18,9 +18,9 @@ function mapStateToProps (state) { } } -RevealSeedConfirmatoin.prototype.confirmationPhrase = 'I understand' +RevealSeedConfirmation.prototype.confirmationPhrase = 'I understand' -RevealSeedConfirmatoin.prototype.render = function () { +RevealSeedConfirmation.prototype.render = function () { const props = this.props const state = this.state @@ -116,24 +116,24 @@ RevealSeedConfirmatoin.prototype.render = function () { ) } -RevealSeedConfirmatoin.prototype.componentDidMount = function () { +RevealSeedConfirmation.prototype.componentDidMount = function () { document.getElementById('password-box').focus() } -RevealSeedConfirmatoin.prototype.goHome = function () { +RevealSeedConfirmation.prototype.goHome = function () { this.props.dispatch(actions.showConfigPage(false)) } // create vault -RevealSeedConfirmatoin.prototype.checkConfirmation = function (event) { +RevealSeedConfirmation.prototype.checkConfirmation = function (event) { if (event.key === 'Enter') { event.preventDefault() this.revealSeedWords() } } -RevealSeedConfirmatoin.prototype.revealSeedWords = function () { +RevealSeedConfirmation.prototype.revealSeedWords = function () { this.setState({ confirmationWrong: false }) const confirmBox = document.getElementById('confirm-box') |