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