diff --git a/components/brave_wallet_ui/page/container.tsx b/components/brave_wallet_ui/page/container.tsx index c094f3aa008b..1b2e485892ac 100644 --- a/components/brave_wallet_ui/page/container.tsx +++ b/components/brave_wallet_ui/page/container.tsx @@ -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) => {