Determine if a given wallet is connected as a Ledger Solana wallet.
import{ useDynamicContext }from'@dynamic-labs/sdk-react-core'import{ isLedgerSolanaWallet }from"@dynamic-labs/solana-core";constApp=()=>{const{ primaryWallet }=useDynamicContext()if(primaryWallet &&isLedgerSolanaWallet(primaryWallet)){/*** This block will execute if the primaryWallet was connected*as a Ledger wallet on the Solana blockchain during the* Dynamic UI connection process.*/}}