A hook that returns the active wallet
import { useActiveWallet } from "thirdweb/react"; const wallet = useActiveWallet();
function useActiveWallet(): undefined | Wallet;
let returnType: undefined | Wallet;
The active Wallet or undefined if no active wallet is set.
Wallet
undefined