mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
ui - lint fix
This commit is contained in:
parent
34fe88af8f
commit
a52ef7a06a
@ -148,7 +148,7 @@ RestoreVaultScreen.prototype.createNewVaultAndRestore = function () {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
// true if seed contains a character that is not between a-z or a space
|
// 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.warning = 'seed words only have lowercase characters'
|
||||||
this.props.dispatch(actions.displayWarning(this.warning))
|
this.props.dispatch(actions.displayWarning(this.warning))
|
||||||
return
|
return
|
||||||
|
@ -152,7 +152,7 @@ RestoreVaultScreen.prototype.createNewVaultAndRestore = function () {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
// true if seed contains a character that is not between a-z or a space
|
// 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.warning = 'seed words only have lowercase characters'
|
||||||
this.props.dispatch(actions.displayWarning(this.warning))
|
this.props.dispatch(actions.displayWarning(this.warning))
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user