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
7b164521
Commit
7b164521
authored
Aug 06, 2018
by
fro
Browse files
fix typo
parent
8b4e3575
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/components/AccountSeed.js
View file @
7b164521
...
...
@@ -129,10 +129,10 @@ export default class AccountSeed extends Component {
if
(
WORDS
[
fromIndex
]
===
input
)
{
fromIndex
=
0
;
}
const
SUGGETIONS_COUNT
=
5
;
const
SUGGE
S
TIONS_COUNT
=
5
;
const
result
=
[];
let
yielded
=
0
;
while
(
yielded
<
SUGGETIONS_COUNT
&&
WORDS
[
fromIndex
]
!==
undefined
)
{
while
(
yielded
<
SUGGE
S
TIONS_COUNT
&&
WORDS
[
fromIndex
]
!==
undefined
)
{
++
fromIndex
;
if
(
words
.
indexOf
(
WORDS
[
fromIndex
])
!==
-
1
)
{
continue
;
...
...
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