Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
parity-signer
Commits
97053acf
Commit
97053acf
authored
Jul 25, 2019
by
Thibaut Sardan
Browse files
fix(): return
parent
36e7920b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/screens/AccountRecover.js
View file @
97053acf
...
...
@@ -105,7 +105,7 @@ class AccountRecoverView extends React.Component {
const
validation
=
validateSeed
(
selected
.
seed
,
selected
.
validBip39Seed
);
if
(
!
validation
.
valid
)
{
if
(
validation
.
accountRecoveryAllowed
){
Alert
.
alert
(
return
Alert
.
alert
(
'
Warning:
'
,
`
${
validation
.
reason
}
`
,
[
...
...
@@ -127,9 +127,8 @@ class AccountRecoverView extends React.Component {
}
]
);
return
;
}
else
{
Alert
.
alert
(
return
Alert
.
alert
(
'
Error:
'
,
`
${
validation
.
reason
}
`
,
[
...
...
@@ -139,7 +138,6 @@ class AccountRecoverView extends React.Component {
}
]
);
return
;
}
}
this
.
props
.
navigation
.
navigate
(
'
AccountPin
'
,
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment