Skip to content

Commit

Permalink
Fixed Verify Recovery Phrase rerender bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglashdaniel committed Oct 4, 2021
1 parent 1fdc111 commit 84c2d54
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 84c2d54

Please sign in to comment.