import { useDynamicContext } from '@dynamic-labs/sdk-react-core'
import { isLedgerSolanaWallet } from "@dynamic-labs/solana-core";

const App = () => {
  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.
     */
  }
}