diff --git a/apps/wallet-mobile/src/features/ReviewTx/common/WalletBalance.tsx b/apps/wallet-mobile/src/features/ReviewTx/common/WalletBalance.tsx index 7776e1ba8f..808e4dcaeb 100644 --- a/apps/wallet-mobile/src/features/ReviewTx/common/WalletBalance.tsx +++ b/apps/wallet-mobile/src/features/ReviewTx/common/WalletBalance.tsx @@ -16,8 +16,8 @@ export const WalletBalance = ({image, plate, name}: {image: string; plate: strin const strings = useStrings() const {wallet} = useSelectedWallet() const balances = usePortfolioBalances({wallet}) - const tokensList = React.useMemo(() => balances.fts ?? [], [balances.fts]) - const nftsList = React.useMemo(() => balances.nfts ?? [], [balances.nfts]) + const ftList = balances.fts ?? [] + const nftsList = balances.nfts ?? [] return ( @@ -41,18 +41,18 @@ export const WalletBalance = ({image, plate, name}: {image: string; plate: strin - - + + - - + + ) } -const AssetSquare = ({ +const TokenSquare = ({ title, count, list, @@ -83,12 +83,12 @@ const AssetSquare = ({ {count} - + ) } -const AssetsSquares = ({children}: {children: React.ReactNode}) => { +const TokenSquares = ({children}: {children: React.ReactNode}) => { const {styles} = useStyles() return {children} @@ -99,7 +99,7 @@ const Container = ({children}: {children: React.ReactNode}) => { return {children} } -const AssetList = ({assetList}: {assetList: PortfolioTokenBalances['fts'] | PortfolioTokenBalances['nfts']}) => { +const TokenList = ({assetList}: {assetList: PortfolioTokenBalances['fts'] | PortfolioTokenBalances['nfts']}) => { const {styles} = useStyles() return (