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:
parent
34fe88af8f
commit
a52ef7a06a
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user