Skip to content

Commit

Permalink
refactor(setup-wallet): mnemonic input
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss committed May 3, 2024
1 parent e8084aa commit 60d3c9d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ export const RestoreWalletScreen = () => {
const onSelect = (index: number, word: string) => {
const newWords = [...mnemonicSelectedWords]
newWords[index] = word
setSuggestedWords([])
setMnemonicSelectedWords(newWords)
mnenonicRefs[index].current?.selectWord(isEmptyString(word) ? '' : word)

Expand Down Expand Up @@ -117,6 +116,7 @@ export const RestoreWalletScreen = () => {
}

const onFocus = (index: number) => {
setSuggestedWords([])
setFocusedIndex(index)
}

Expand Down

0 comments on commit 60d3c9d

Please sign in to comment.