Skip to content

Commit

Permalink
Merge pull request #10354 from brave/fixed-verify-phrase-re-render-bug
Browse files Browse the repository at this point in the history
Fixed Verify Recovery Phrase Bug
  • Loading branch information
Douglashdaniel authored Oct 5, 2021
2 parents a0343e9 + 84c2d54 commit 965f45a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/brave_wallet_ui/page/container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,9 @@ function Container (props: Props) {
return false
}, [invalidMnemonic])

const recoveryPhrase = (mnemonic || '').split(' ')
const recoveryPhrase = React.useMemo(() => {
return (mnemonic || '').split(' ')
}, [mnemonic])

// This will scrape all of the user's accounts and combine the asset balances for a single asset
const fullAssetBalance = (asset: TokenInfo) => {
Expand Down

0 comments on commit 965f45a

Please sign in to comment.