If you are connecting to Solana wallets, you must also initialize Solana connectors using Privy’s toSolanaWalletConnectors method and pass them to the config.externalWallets.solana.connectors field.
In your PrivyProvider, set the config.appearance.walletChainType to 'ethereum-and-solana'.import {PrivyProvider} from '@privy-io/react-auth';
import {toSolanaWalletConnectors} from "@privy-io/react-auth/solana";
<PrivyProvider
config={{
appearance: {walletChainType: 'ethereum-and-solana'},
externalWallets: {solana: {connectors: toSolanaWalletConnectors()}}
}}
>
{children}
</PrivyProvider>