A hook to add a connected wallet without setting the active wallet.
import { useAddConnectedWallet } from "thirdweb/react"; const addConnectedWallet = useAddConnectedWallet(); // later in your codeawait addConnectedWallet(wallet);
function useAddConnectedWallet(): (wallet: Wallet) => void;
let returnType: (wallet: Wallet) => void;
A function that lets you add a connected wallet.