A hook that lets you set the active wallet.
import { useSetActiveWallet } from "thirdweb/react"; const setActiveAccount = useSetActiveWallet(); // later in your codeawait setActiveAccount(account);
function useSetActiveWallet(): ( activeWallet: Wallet,) => Promise<void>;
let returnType: (activeWallet: Wallet) => Promise<void>;
A function that lets you set the active wallet.