1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

ui - lint fix

This commit is contained in:
kumavis 2018-03-13 14:41:54 -07:00
parent 34fe88af8f
commit a52ef7a06a
2 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ RestoreVaultScreen.prototype.createNewVaultAndRestore = function () {
return
}
// true if seed contains a character that is not between a-z or a space
if(!seed.match(/^[a-z ]+$/)) {
if (!seed.match(/^[a-z ]+$/)) {
this.warning = 'seed words only have lowercase characters'
this.props.dispatch(actions.displayWarning(this.warning))
return

View File

@ -152,7 +152,7 @@ RestoreVaultScreen.prototype.createNewVaultAndRestore = function () {
return
}
// true if seed contains a character that is not between a-z or a space
if(!seed.match(/^[a-z ]+$/)) {
if (!seed.match(/^[a-z ]+$/)) {
this.warning = 'seed words only have lowercase characters'
this.props.dispatch(actions.displayWarning(this.warning))
return